In addition to the original icons I have added some totally new and exclusively for this version. This is a more specific use case of running GUI application with Docker, the procedure is.icons extracted from the beta of Uos, deepin os v20, This set is set for use in any distribution and DE that you wish to use, I can also install it in the current version of deepin. The 'whale' icon in the notification area indicates that Docker is running, and accessible from a terminal.X11docker: Run GUI applications in Docker Avoid X security leaks and enhance container securityHeres how to set up and use X11 Forwarding on Linux and Mac. When the installation finishes, Docker starts automatically. Download and install Docker Desktop executable for Windows/Mac. The docker (Linux) bridge network is not reachable from the Windows/Mac hosts.
Xfce Docker Manual Provides InformationContainer tools like Docker, podman and nerdctl allow to run applications in an isolated container environment.Containers need much less resources than virtual machines for similar tasks. Welcome to Docker Desktop The Docker Desktop for Mac user manual provides information on how to configure and manage your Docker Desktop settings. Estimated reading time: 15 minutes.Additionally x11docker does some security setup to enhance container isolation and to avoid X security leaks.This allows a sandbox environment that fairly well protects the host system from possibly malicious or buggy software.Software can be installed in a deployable image with a rudimentary Linux system inside.This can help to run or deploy software that is difficult to install on several systems due to dependency issues. It runs an X display server on the host system and provides it to containers. x11docker fills the gap.Restricts container capabilities to bare minimum. Avoids X security leaks by running additional X servers. X11docker does not run on macOS except in a Linux VM. Supported systemsX11docker runs on Linux and (with some setup and limitations) on MS Windows.No dependencies inside of images except for some optional features. Recommended: nxagent and Xephyr. No obliging dependencies on host beside X and one of docker, podman or nerdctl. If your distribution misses it, look at kaptain repository. x11docker-gui needs package kaptain. It runs from console, too. Choice of X servers and Wayland compositorsX11docker-gui is an optional graphical frontend for x11docker. x11docker -desktop -size 320x240 x11docker/lxde (needs nested X server Xephyr) See generated container backend command (and further infos) with option -debug. Get an interactive TTY with option -i, -interactive. To run without X at all use option -t, -tty. For desktop environments in image add option -d, -desktop. Get an overview of options with x11docker -help. Use option -t, -tty to run without X at all.X11docker assumes that you want to run a single application in seamless mode, i.e. Overview of all possible X server and Wayland options. Most recommended are nxagent and Xephyr. For often used option combinations you can make shortcuts with option -preset.Choice of X servers and Wayland compositorsIf no X server option is specified, x11docker automatically chooses one depending on installed dependencies and on given or missing options -desktop, -gpu and -wayland. Some of these options have dependencies on host and/or in image. Desktop mode with -desktop is supported with all X server options except -hostdisplay. As a fallback insecure option -hostdisplay is possible. Seamless mode is supported with options -nxagent and -xpra. If you want to run a desktop environment in image, add option -desktop. Another window manager image an be specified with e.g. If available, x11docker uses image x11docker/openbox to run a window manager in its own container. If neither nxagent nor xpra are installed, but x11docker finds a desktop capable X server like Xephyr, it avoids insecure option -hostdisplay and runs Xephyr with a window manager. Special case: Single applications with a window manager (option -wm). You can specify a volume for container HOME with -home=VOLUME. You can specify another host directory for container HOME with -home=DIR. Option -m, -home creates a host directory in ~/.local/share/x11docker/IMAGENAME that is shared with the container and mounted as its HOME directory.Files in container home and user configuration changes will persist.X11docker creates a softlink from ~/.local/share/x11docker to ~/x11docker. For persistent data storage you can share host directories or volumes: -wm=xfwm4.Shared folders, volumes and HOME in containerChanges in a running container system will be lost, the created container will be discarded. -share $HOME will symlink your host home as a subfolder of container home.Note that x11docker copies files from /etc/skel in container to HOME if HOME is empty. Discouraged, use with care. -home=$HOME will use your host home as container home. Device files in /dev are supported, too. -share PATH:ro restricts to read-only access. You can also specify a volume with -share VOLUME. Firefox browser cleaner macSome X server options need package xclip on host.Sound is possible with options -p, -pulseaudio and -alsa. Image clips are possible with -xpra and -hostdisplay. Closed source NVIDIA drivers need some setup and support less x11docker X server options.Clipboard sharing is possible with option -c, -clipboard. Otherwise have a look at wiki: feature dependencies. This will work out of the box in most cases with open source drivers on host. GPU hardware accelerationHardware acceleration for OpenGL is possible with option -g, -gpu. If webcam application in image fails, install -gpu dependencies in image. Get a list of available sound cards with aplay -l.Webcams on host can be shared with option -webcam. For ALSA sound with -alsa you might need to specify a sound card with e.g. Compare ticket #269.To run Wayland instead of an X server x11docker provides options -wayland, -weston, -kwin and -hostwayland.For further description loot at wiki: Description of Wayland options. Keyboard input methods like fcitx-pinyin are possible with some container setup. For support of chinese, japanese and korean characters install a font like fonts-arphic-uming in image. Init in container solves the zombie reaping issue. Example: xfce4-terminal on Wayland: x11docker -wayland x11docker/xfce xfce4-terminalX11docker supports several init systems as PID 1 in container with option -init. Option -hostwayland can run applications seamless on host Wayland desktops like Gnome 3, KDE 5 and Sway. Options -weston and -kwin run Wayland compositors weston or kwin_wayland. It regards option -desktop.
0 Comments
Leave a Reply. |
AuthorGreg ArchivesCategories |