mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 01:30:21 +00:00
README: add note about Dockerfile
This commit is contained in:
parent
23fa9f8f6f
commit
8325af94ec
1 changed files with 13 additions and 5 deletions
12
README.rst
12
README.rst
|
@ -501,13 +501,14 @@ Running in Docker
|
|||
=================
|
||||
|
||||
Also you are able to run and use Salt inside Docker_ container on Linux machine.
|
||||
Let's prepare Docker image with both Salt Master and Minion installed by the bootstrap script:
|
||||
Let's prepare the Docker image using provided ``Dockerfile`` to install both Salt Master and Minion
|
||||
with the bootstrap script:
|
||||
|
||||
.. code:: console
|
||||
|
||||
docker built -t local/salt-bootstrap .
|
||||
|
||||
Start your new container with Salt services:
|
||||
Start your new container with Salt services up and running:
|
||||
|
||||
.. code:: console
|
||||
|
||||
|
@ -522,8 +523,15 @@ And finally "enter" the running container and make Salt fully operational:
|
|||
|
||||
Salt is ready and working in the Docker container with Minion authenticated on Master.
|
||||
|
||||
.. note::
|
||||
|
||||
The ``Dockerfile`` here inherits Ubuntu 14.04 public image with Upstart configured as init system.
|
||||
Consider it as an example or starting point of how to make your own Docker images with suitable
|
||||
Salt components, custom configurations and even `pre-accepted Minion key`_ already installed.
|
||||
|
||||
|
||||
.. _Docker: https://www.docker.com/
|
||||
.. _`pre-accepted Minion key`: https://docs.saltstack.com/en/latest/topics/tutorials/preseed_key.html
|
||||
|
||||
|
||||
.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=2 sw=2 et
|
||||
|
|
Loading…
Add table
Reference in a new issue