Detailed Instructions and Video for MX Linux and Docker

The following video is the most detailed exploration I have.
Docker, Lamp Ngrok and mstream


Here are some "tl:dr" notes that I believe summarize the process.


From a clean install of MX Linux, open a terminal and do:


sudo apt install docker docker.io docker-compose


Next, you need to create a group, or ensure a docker group already exists, either way just do the following command:


sudo groupadd docker


Add yourself to the group (you can type the following AS IS, since $USER means "you")


sudo usermod -aG docker $USER


NEXT, either shutdown your machine or VM and start it again, or in the same terminal type


newgrp docker


(this will make those last changes "stick," for now, but to ensure they stick forever, restart your machine)


Next, you'll need one more safety type program:


sudo apt install apparmor


This should do it.


Run


docker run hello-world


and it should work.




Backlinks: Tech Guides:On Docker