feature: add volume for saving configs
This commit is contained in:
parent
2a6e6a1e24
commit
5453874bba
6 changed files with 38 additions and 9 deletions
|
|
@ -1,3 +1,8 @@
|
|||
# Create docker volume if not exists
|
||||
if ! sudo docker volume ls | grep -q $CONTAINER_NAME; then
|
||||
sudo docker volume create $CONTAINER_NAME
|
||||
fi
|
||||
|
||||
# Run container
|
||||
sudo docker run -d \
|
||||
--log-driver none \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue