If you want to install docker on ubuntu, follow below procedure,
$ sudo apt install docker.io
$ sudo docker run --rm -it i686/ubuntu bash [email protected]:/#
Above two commands will install docker on 32 bit ubuntu and start the container, we can check the status as,
$ sudo docker ps -l CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES acac0f429e2e i686/ubuntu "bash" 8 seconds ago Up 4 seconds blissful_lumiere
If we want to start the docker container using container Id, execute the following command,
$ sudo docker container start acac0f429e2e acac0f429e2e
where, acac0f429e2e is a docker container ID, as seen in “docker ps -l” command
Check the installed docker images as
$ sudo docker images REPOSITORY TAG IMAGE ID CREATED SIZE i686/ubuntu latest a4d92601f835 4 years ago 232MB