Docker
rootless docker
Docker service is running in rootless mode which is described in detail here: https://docs.docker.com/engine/security/rootless/
installation
- make sure your user is present in files:
/etc/subuidand/etc/subgid. Contact administrator to get entry here - run
sh /home/nfs/teaching/rootless. - add appropraite entries to
.bashrc:reloadexport PATH=/home/users/[YOURUSER]/bin:$PATH # To get your user id type `id -u`. export DOCKER_HOST=unix:///run/user/[YOUR UID]/docker.socksource .bashrcor relogin - [Optional] If docker is not available after reloging enable it on startup
systemctl --user enable docker - verify installation
docker run -p 8080:80 nginx:alpine