Skip to content

Instantly share code, notes, and snippets.

@bruceadams
Created July 9, 2014 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bruceadams/6fbcc7d8c4cad17aff68 to your computer and use it in GitHub Desktop.
Save bruceadams/6fbcc7d8c4cad17aff68 to your computer and use it in GitHub Desktop.
Unexpected errors from LXC
adams ~$ sudo lxc-create -t download -n test-ubuntu -- -d ubuntu -r trusty -a amd64 ; sudo lxc-start -n test-ubuntu -d ; sudo lxc-ls -f test-ubuntu ; sudo lxc-stop -n test-ubuntu -k ; sudo lxc-destroy -n test-ubuntu
Setting up the GPG keyring
Downloading the image index
Downloading the rootfs
Downloading the metadata
The image cache is now ready
Unpacking the rootfs
---
You just created an Ubuntu container (release=trusty, arch=amd64, variant=default)
The default username/password is: ubuntu / ubuntu
To gain root privileges, please use sudo.
lxc_container: Invalid argument - failed to setns for CLONE_NEWNET
lxc_container: Invalid argument - failed to enter namespace
lxc_container: Invalid argument - failed to setns for CLONE_NEWNET
lxc_container: Invalid argument - failed to enter namespace
NAME STATE IPV4 IPV6 AUTOSTART
-------------------------------------------
test-ubuntu RUNNING - - NO
adams ~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment