Skip to content

Commit 7bd413d

Browse files
jbruschBruschkov
authored andcommitted
remove previous instance of docker container in start_container script
1 parent 988f522 commit 7bd413d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/start_container.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ SRC_DIR=${SRC_DIR:-`pwd`}
55
NOTEBOOK_DIR=${NOTEBOOK_DIR:-$SRC_DIR/notebooks}
66
TOKEN=$(openssl rand -hex 24)
77

8+
# stop and remove previous instances of the pymc3 container to avoid naming conflicts
9+
docker stop pymc3
10+
docker rm pymc3
11+
812
# note that all paths are relative to the build context, so . represents
913
# SRC_DIR to Docker
1014
docker build \

0 commit comments

Comments
 (0)