Skip to content
This repository was archived by the owner on Feb 8, 2022. It is now read-only.

Commit

Permalink
security-opt on own line
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Taggart committed Apr 30, 2016
1 parent 4a0a720 commit 690167b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion run-dockerformac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ xhost + # TODO limit to just the host
# bridge100 is disappearing after a reboot
ip=`ifconfig bridge100 | grep inet | awk '$1=="inet" {print $2}'`
docker run --rm -it \
-e DISPLAY=$ip:0 --security-opt seccomp=unconfined \
-e DISPLAY=$ip:0 \
--security-opt seccomp=unconfined \
-v `pwd`:/home/vscode/golang-gscode \
ctaggart/golang-vscode \
su - vscode -c "cd ~/golang-gscode; code -w ."
3 changes: 2 additions & 1 deletion run-nut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ xhost + # TODO limit to just the host
# bridge100 is disappearing after a reboot
ip=`ifconfig bridge100 | grep inet | awk '$1=="inet" {print $2}'`
docker run --rm -it \
-e DISPLAY=$ip:0 --security-opt seccomp=unconfined \
-e DISPLAY=$ip:0 \
--security-opt seccomp=unconfined \
-v $HOME/go/nut:/home/vscode/nut \
ctaggart/golang-vscode \
su - vscode -c "cd ~/nut; ./vscode.sh"

0 comments on commit 690167b

Please sign in to comment.