1. Switch into the root user using sudo su - command
2. Type the following command useradd -s /bin/bash -d /home/john -m john then press "Enter"
useradd is the command to add a new user to Ubuntu, below is an explaination of what each switch means in the command above
-s --shell SHELL - the login shell of the new account, which is the/bin/bash shell
-d --home-dir HOME_DIR - home directory of the new account, which is /home/john
3. Type ls /home to list the content of the /home directory and you will see the john directory has been created for the user john
Now we can add john to the Docker group
6. First we need to find out if the docker group has been created, type cat /etc/group to look at the list of groups
As you can see the docker group has been created
7, To add john to the docker group type gpasswd -a john docker
Now you will see that john is a part of the docker group
Posts On Dockers
- Installing Docker On Ubuntu Server
- Installing Docker On CentOS
- Adding Docker Repository Key and Updating Docker To Get The Latest Version
- Docker : Pull The Latest Fedora Image Into A Ubuntu Server
- Docker : Pull The Latest CentOS Image Into A Ubuntu Server
- Docker : Adding Non Root Users To The Docker Group In Ubuntu
- Docker : Adding Non Root Users To The Docker Group In CentOS
- Docker : Command to See What Containers Are Running
Thanks for sharing the best content and useful information.
ReplyDeletebritish council ielts coaching in karimnagar
DeleteCheck if Bluetooth is enabled
ReplyDeleteIn the Device Manager, locate the Bluetooth entry and expand the Bluetooth hardware list.
Right-click the Bluetooth adapter in the Bluetooth hardware list.
In the pop-up menu that appears, if the Enable option is available, click that option to enable and turn on Bluetooth.
miracle box keygen