hi what is the root password of container where do i get it
DockerLinuxLinux Distributions* containersLXC
Last Comment
noci
8/22/2022 - Mon
ste5an
They (root passwords) are not stored anywhere as long as you don't use your own password list or password safe.
noci
A container in most cases has no passwords. In the case of docker the container is more or less ephemeral... Then again any password (if present) in a linux system is in /etc/shadow, of in some NIS or LDAP accessible service.
It is hashed with a solid hashing schema,, unless the last password change was over 10 years ago...
Most dockers have NO concept of logging in, or ssh access etc. the service are not there. some dockers are created in a way that allows docker exec /bin/sh..... from a host command line with sufficient privileges or access rights. and even that is not possible in dockers.
LXD might provide a more "lightweight" VM experience.