Skip to content

Instantly share code, notes, and snippets.

@nickolasteixeira
Last active January 18, 2020 00:39
Show Gist options
  • Save nickolasteixeira/3abc554ed30f84161adc4b7db0b5c309 to your computer and use it in GitHub Desktop.
Save nickolasteixeira/3abc554ed30f84161adc4b7db0b5c309 to your computer and use it in GitHub Desktop.
Run this bash script after running the build_docker_image.sh script. Make sure to set an env variable on your system to jwtGT and assign the value of the jwt token from Georgia Tech: https://bonnie.udacity.com/auth_tokens/two_factor
#!/bin/bash
# Start docker container (--cap-add=SYS_PTRACE allows for gdb, --security-opt seccomp=unconfined for this error message : warning: Error disabling address space randomization: Operation not permitted)
#jwtGT env variable is your 2factor jwt token. I am setting it as an env variable in your container
#Make sure to set an env variable on your system to jwtGT and assign the value of the jwt token from Georgia Tech: https://bonnie.udacity.com/auth_tokens/two_factor
docker run --cap-add=SYS_PTRACE \
--security-opt seccomp=unconfined \
-e jwtGT=$jwtGT \
-it gios:v1 /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment