mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Clean up quoting, wraps, and build error on code-block.
This commit is contained in:
parent
ea0ed9a915
commit
4bea68dfa6
2 changed files with 7 additions and 4 deletions
|
@ -938,8 +938,10 @@ containers will not be deleted.
|
|||
-name="": Assign the specified name to the container. If no name is specific docker will generate a random name
|
||||
-P=false: Publish all exposed ports to the host interfaces
|
||||
|
||||
``docker run`` ``creates`` a writeable container layer over the specified image, and then
|
||||
``start``s it using the specified command (ie. is equivalent to the API ``/containers/create`` then ``/containers/(id)/start``).
|
||||
``'docker run'`` first ``'creates'`` a writeable container layer over
|
||||
the specified image, and then ``'starts'`` it using the specified
|
||||
command. That is, ``'docker run'`` is equivalent to the API
|
||||
``/containers/create`` then ``/containers/(id)/start``.
|
||||
|
||||
Known Issues (run -volumes-from)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
@ -161,11 +161,12 @@ variable using the ``-e`` command line option.
|
|||
local ``1234`` port to the remote IP and port - in this case ``192.168.1.52:6379``.
|
||||
|
||||
|
||||
.. code-block:: Dockerfile
|
||||
::
|
||||
|
||||
#
|
||||
#
|
||||
# first you need to build the docker-ut image using ./contrib/mkimage-unittest.sh
|
||||
# first you need to build the docker-ut image
|
||||
# using ./contrib/mkimage-unittest.sh
|
||||
# then
|
||||
# docker build -t SvenDowideit/ambassador .
|
||||
# docker tag SvenDowideit/ambassador ambassador
|
||||
|
|
Loading…
Reference in a new issue