Dockerizing an application is the process of converting an application to run within a Docker container.
You must have the following tools installed:
sudo apt install git
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt-get install \
docker-ce \
docker-ce-cli \
containerd.io
3. x11docker - https://github.com/mviereck/x11docker#installation
curl -fsSL https://raw.githubusercontent.com/mviereck/x11docker/master/x11docker | sudo bash -s -- --update
Note that x11docker is just a bash script without library dependencies. Basically it is just a wrapper for X servers and Docker.
git clone ssh://git@bitbucket.upnetix.com:7999/dod/dockerized-tools.gitRun this in terminal
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --systemfor more info here