![]() Ubuntu 18.04 LTS ( bionic) export VER=bionic docker build -build-arg "VER=$VER" ~/Docker/dockerfile-x11docker-ubuntu-mate -t ubuntu-mate:$VER One can run almost any preinstalled application in the opened graphical MATE session or install any other by using APT.Īdvanced usage allows one to build and run any supported Ubuntu MATE version inside Docker container with X11. Other options are available in x11docker -help output. init=systemd – use systemd as init system inside container. xtest – use XTest X11 extension (needed for Onboard) share ~/Public – share folder between host system and container home – creates a host directory in ~/.local/share/x11docker/IMAGENAME that is shared with the container and mounted as its HOME directory dbus – DBUS session bus for desktop and other applications sudouser – allows running commands with sudo and password is x11docker More functional, using extra options x11docker -desktop ubuntu-mate:focal -sudouser -dbus -home -share ~/Public -clipboard -pulseaudio -xtest -init=systemd ![]() Minimal, using default settings x11docker -desktop ubuntu-mate:focal Sudo mv x11docker /usr/local/bin/x11dockerīuild default Ubuntu MATE 20.04 LTS image locally docker build ~/Docker/dockerfile-x11docker-ubuntu-mate -t ubuntu-mate:focal Prepare folder for Docker repository mkdir ~/Docker Install dependencies sudo apt-get install git xserver-xephyrĪdd current user to the docker group sudo usermod -a -G docker $USER Sudo apt-get install docker-ce docker-ce-cli containerd.io $(lsb_release -cs) stable" | sudo tee /etc/apt//docker.list > /dev/null Sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-releaseĬurl -fsSL | sudo gpg -dearmor -o /usr/share/keyrings/docker-archive-keyring.gpgĮcho "deb \ # sudo apt-get remove docker docker-engine docker.io containerd runc Install Docker # to remove previously installed Docker, uncomment next line To run Ubuntu MATE with x11docker one should follow the following steps: And what is interesting - such image has 10K downloads and is most popular variant.īelow is the method of using x11docker to run Ubuntu MATE. It already has pre-configured container with MATE desktop, which is based on Debian Buster. To get GUI one can utilize the famous and well-designed x11docker project. An alternative for virtual machine is a Docker container.Ĭontainers are usually running without GUI.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |