Skip to content

Commit

Permalink
run docker in non privileged mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rferrazz committed May 28, 2021
1 parent cebb68f commit cbf2a36
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 @@ -39,7 +39,7 @@ function start_container {
docker rmi $(docker images -qa -f 'dangling=true') || echo "Nothing to remove"

echo "Starting the development container"
docker run --rm -it --privileged -v ${VOLUME_NAME}:/home/yoctouser -p ${FREE_PORT}:8000 -p ${CODE_PORT}:8080 ${VOLUME_NAME}
docker run --rm -it -v ${VOLUME_NAME}:/home/yoctouser -p ${FREE_PORT}:8000 -p ${CODE_PORT}:8080 ${VOLUME_NAME}
}

function main {
Expand Down

0 comments on commit cbf2a36

Please sign in to comment.