Fix typos
This commit is contained in:
parent
1f5e1c683a
commit
57c0d1cc3d
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue