nmtui on Ubuntu

I wanted to configure a static IP on my new Ubuntu VM on VirtualBox but when I executed…

sudo nmtui

The command was not available.

I’ve learned that installing network-manager makes nmtui available on Ubuntu.

sudo apt-get install network-manager

After installing network-manager, execute sudo nmtui and it allows you to use the UI to configure your network.

New Ubuntu Server

I’ve downloaded Ubuntu Server from here and installed as a virtual machine on my Virtual Box. Both of them are available for free, which I really appreciate.

The reason why I wanted to install Ubuntu Server is because I want to try Docker on it. CentOS used to be my choice of Linux OS but with the recent event of CentOS Stream, my choice of Linux server OS is Ubuntu.

I’ve installed the Ubuntu server on my virtual box. Here is the information.

I chose an option to install Docker during the installation process, so Docker is already installed.

Now, I want to be able to execute docker command without having to do sudo, so I am adding the user the the docker group.

Adding docker group.

sudo groupadd docker

And then add the current user to the group.

sudo usermod -aG docker $USER

Logout and log back in for it to be effective. Or if it still doesn’t work, you might have to restart the server.

Try to execute the following command to see if it really works.

amaterasu48@ubuntu-svr:~$ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
b8dfde127a29: Pull complete
Digest: sha256:308866a43596e83578c7dfa15e27a73011bdd402185a84c5cd7f32a88b501a24
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:

For more examples and ideas, visit:

The next thing I would like to do is to have WordPress running within containers. I’ve always wanted to try it but I didn’t spend my time to do it. I know WordPress needs database behind it, so this is going to be an interesting challenge.