My code for CodeCrafter's "Build Your Own Docker" Challenge.
- docker
alias mydocker='docker build -t mydocker . && docker run --cap-add="SYS_ADMIN" mydocker'
mydocker run debian:latest /bin/sh -c "ls -la /"
Note: The --cap-add="SYS_ADMIN"
flag is required to create
PID Namespaces