Skip to content

Commit

Permalink
remove ignore option on volume creation
Browse files Browse the repository at this point in the history
  • Loading branch information
rferrazz committed Oct 20, 2024
1 parent b99370a commit 86ed25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-env
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function create_dockerfile {
function create_container {
if [[ $(docker volume ls --filter "name=${VOLUME_NAME}" -q | wc -l ) -eq 0 ]]; then
echo "creating volume and copying setup script into it"
docker volume create --ignore ${VOLUME_NAME}
docker volume create ${VOLUME_NAME}
docker run -it --rm -v ${VOLUME_NAME}:/workdir busybox \
/bin/sh -c "mkdir -p /workdir/src && chown -R 1000:1000 /workdir"
fi
Expand Down

0 comments on commit 86ed25f

Please sign in to comment.