# Require the current user being in the sudo group
# May need to provide your *own* password
sudo /bin/bash # explicitly request a Bash shell
sudo /bin/su # use root's default shell
The only drawback when you’ve never used them before, is you have to become familiar with the basic vocabulary and tools used to manage the lifecycle of your containers.
This is what I address in my latest video. There you will see how to create, start and stop a web server in a Docker container. Even if I focus there on setting up an HTTP server, all the Docker commands, and workflow I show and explain could be used with any kind of server—as long as there is a docker image readily available on the Docker Hub or elsewhere on the web.
Don’t hesitate to share/like/comment the video. I would be especially curious to know what you’ve used docker for after having viewed that!
If you haven’t yet installed Docker on your computer, check my previous video:
To follow the instructions given here, you must have access to a working Linux system and being able to open a root session there.
On many systems today, that simply means being able to issue one of these commands:
# Require the current user being in the sudo group
# May need to provide your *own* password
sudo /bin/bash # explicitly request a Bash shell
sudo /bin/su # use root's default shell
-or-
# Require the *root* password
su --shell /bin/bash # explicitly request a Bash shell
su # use root's default shell
I used the Bash shell on the videos. But all commands should work exactly the same with a different shell.