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:
|
commands when writing docker images like:
|
||||||
|
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
docker stop CONTAINER && docker rm CONTAINER && docker rmi IMAGE \
|
docker stop CONTAINER && docker rm CONTAINER && docker rmi IMAGE && \
|
||||||
docker build -t IMAGE && docker start -n CONTAINER IMAGE
|
docker build -t IMAGE && docker run --name CONTAINER IMAGE
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
By using wdocker to define a command he can greatly simplify his own
|
By using wdocker to define a command he can greatly simplify his own
|
||||||
|
@ -23,9 +23,9 @@
|
||||||
#wd# rm = docker rm {container}
|
#wd# rm = docker rm {container}
|
||||||
#wd# rmi = docker rmi {container}
|
#wd# rmi = docker rmi {container}
|
||||||
#wd# build = docker build -t {image}
|
#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
|
FROM ubuntu
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue