This commit is contained in:
MakerOMagic
2022-12-11 19:30:42 -05:00
parent b4d6426abc
commit 22d5e6ddaf
5 changed files with 16 additions and 1 deletions

15
app/docker.notes Normal file
View File

@@ -0,0 +1,15 @@
#build commands
docker build -t getting-started .
#run commands
docker run -dp 3000:3000 getting-started
#add named data file
docker volume create todo-db
#make image with shared storage
docker run -dp 3000:3000 -v todo-db:/etc/todos getting-started
#to fine file locations
docker volume inspect