From 57c0d1cc3da53bce340be25924372cbcb024d184 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 21 Feb 2016 15:50:02 +0100 Subject: [PATCH] Fix typos --- wdocker_compose.org | 8 ++++---- 1 file 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