---

How to reset the password in an LXC container

When you create an LXC container, it will have the default username/password set up. The default username/password will vary depending on which LXC template was used to create the container. For example, Debian LXC will have the default username/password set to root/root. Fedora LXC will have the root password set as expired, so it can be set on the first login.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis