docker volume create root
DOCKER_HOST=$(docker network inspect --format='{{range .IPAM.Config}}{{.Gateway}}{{end}}' bridge)
xhost +local:docker
docker run --rm -it \
--add-host=host.docker.internal:${DOCKER_HOST} \
-v /tmp/.X11-unix/:/tmp/.X11-unix \
-v root:/root \
-e DISPLAY \
elementary:bionic
docker volume create root
xhost +localhost
docker run --rm -it \
-v root:/root \
-e DISPLAY=host.docker.internal:0 \
elementary:bionic
XQuartz on MacOS is recommended.
- XQuartz Preferences -> Security -> Allow connections from network clients
docker volume create root
docker run --rm -it \
-v root:/root \
-e DISPLAY=host.docker.internal:0 \
elementary:bionic
Xming on Windows is recommended.
| Distribution | Codename | libc | gcc | binutils |
|---|---|---|---|---|
| Debian 8 | Jessie | GLIBC 2.19 | 4.9.2 | 2.25 |
| Debian 9 | Stretch | GLIBC 2.24 | 6.3.0 | 2.28 |
| Ubuntu 14.04 | Trusty | EGLIBC 2.19 | 4.8.0 | 2.24 |
| Ubuntu 16.04 | Xenial | GLIBC 2.23 | 5.4.0 | 2.26 |
| Ubuntu 18.04 | Bionic | GLIBC 2.27 | 7.5.0 | 2.30 |
| Ubuntu 20.04 | Focal | GLIBC 2.31 | 9.3.0 | 2.34 |
| Ubuntu 22.04 | Jammy | GLIBC 2.35 | 11.2.0 | 2.38 |
| Ubuntu 24.04 | Noble | GLIBC 2.39 | 13.2.0 | 2.42 |
docker pull aggresss/elementary:noble