Skip to content

Instantly share code, notes, and snippets.

@erangaeb
Last active March 31, 2016 15:01
Show Gist options
  • Save erangaeb/1b0b8e91b55d20bb841ad4d750fa56a5 to your computer and use it in GitHub Desktop.
Save erangaeb/1b0b8e91b55d20bb841ad4d750fa56a5 to your computer and use it in GitHub Desktop.
Connect to lxc container
# command
sudo lxc-connect -n <container-name>
# example
sudo lxc-connect -n mongodb
# It will ask for username/password,
# default username - ubuntu
# default passowrd - ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment