| ... | ... |
@@ -938,8 +938,10 @@ containers will not be deleted. |
| 938 | 938 |
-name="": Assign the specified name to the container. If no name is specific docker will generate a random name |
| 939 | 939 |
-P=false: Publish all exposed ports to the host interfaces |
| 940 | 940 |
|
| 941 |
-``docker run`` ``creates`` a writeable container layer over the specified image, and then |
|
| 942 |
-``start``s it using the specified command (ie. is equivalent to the API ``/containers/create`` then ``/containers/(id)/start``). |
|
| 941 |
+``'docker run'`` first ``'creates'`` a writeable container layer over |
|
| 942 |
+the specified image, and then ``'starts'`` it using the specified |
|
| 943 |
+command. That is, ``'docker run'`` is equivalent to the API |
|
| 944 |
+``/containers/create`` then ``/containers/(id)/start``. |
|
| 943 | 945 |
|
| 944 | 946 |
Known Issues (run -volumes-from) |
| 945 | 947 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| ... | ... |
@@ -161,11 +161,12 @@ variable using the ``-e`` command line option. |
| 161 | 161 |
local ``1234`` port to the remote IP and port - in this case ``192.168.1.52:6379``. |
| 162 | 162 |
|
| 163 | 163 |
|
| 164 |
-.. code-block:: Dockerfile |
|
| 164 |
+:: |
|
| 165 | 165 |
|
| 166 | 166 |
# |
| 167 | 167 |
# |
| 168 |
- # first you need to build the docker-ut image using ./contrib/mkimage-unittest.sh |
|
| 168 |
+ # first you need to build the docker-ut image |
|
| 169 |
+ # using ./contrib/mkimage-unittest.sh |
|
| 169 | 170 |
# then |
| 170 | 171 |
# docker build -t SvenDowideit/ambassador . |
| 171 | 172 |
# docker tag SvenDowideit/ambassador ambassador |