summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Willemse2016-02-21 15:50:02 +0100
committerTom Willemse2016-02-21 15:50:02 +0100
commit57c0d1cc3da53bce340be25924372cbcb024d184 (patch)
treec6cd97bd7d2428828109ab4cf39bf78b2d3d71cd
parent1f5e1c683a24aad559b5df1d23efe020b65d849b (diff)
downloadblog-57c0d1cc3da53bce340be25924372cbcb024d184.tar.gz
blog-57c0d1cc3da53bce340be25924372cbcb024d184.zip
Fix typos
-rw-r--r--wdocker_compose.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/wdocker_compose.org b/wdocker_compose.org
index e1190eb..fe42365 100644
--- a/wdocker_compose.org
+++ b/wdocker_compose.org
@@ -9,8 +9,8 @@
commands when writing docker images like:
#+BEGIN_SRC sh
- docker stop CONTAINER && docker rm CONTAINER && docker rmi IMAGE \
- docker build -t IMAGE && docker start -n CONTAINER IMAGE
+ docker stop CONTAINER && docker rm CONTAINER && docker rmi IMAGE && \
+ docker build -t IMAGE && docker run --name CONTAINER IMAGE
#+END_SRC
By using wdocker to define a command he can greatly simplify his own
@@ -23,9 +23,9 @@
#wd# rm = docker rm {container}
#wd# rmi = docker rmi {container}
#wd# build = docker build -t {image}
- #wd# start = docker start -n {container} {image}
+ #wd# run = docker run --name {container} {image}
- #wd# rebuild: {stop} && {rm} && {rmi} && {build} && {start}
+ #wd# rebuild: {stop} && {rm} && {rmi} && {build} && {run}
FROM ubuntu