Skip to content

Instantly share code, notes, and snippets.

@alban
Created March 24, 2015 14:13
Show Gist options
  • Save alban/aedd0dfe0f1260969914 to your computer and use it in GitHub Desktop.
Save alban/aedd0dfe0f1260969914 to your computer and use it in GitHub Desktop.
Run Docker in Rocket
docker2aci quay.io/alban/dind:dockerinrocket
actool patch-manifest --overwrite --capability=CAP_NET_ADMIN alban-dind-dockerinrocket.aci alban-dind-dockerinrocket-2.aci
scp alban-dind-dockerinrocket-2.aci core-01:/var/tmp/
DOCKER_DAEMON_ARGS='-D -s=overlay' /var/tmp/rkt --insecure-skip-verify run -inherit-env --interactive /var/tmp/alban-dind-dockerinrocket-2.aci
echo nameserver 10.0.2.3 > /etc/resolv.conf
docker run --rm busybox echo Yes it works
docker run --rm -t -i busybox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment