Sign inSign up

geoffh1977/debian

By geoffh1977

•Updated about 2 years ago

Debian Linux with non-root user

Image
0

3.1K

geoffh1977/debian repository overview

⁠Debian Docker Image With Non-Root Account

pipeline_status docker_downloads

⁠Description

Builds a slightly modified Debian Docker image by adding a non-user account and setting the account as the default user.

By doing this, the following issues are prevented:

  • Stops the image from immediately having root level access to a docker host - The switch --user 0 would need to be added to have the container run as the root user.
  • Requires that the command USER root is specifically called before modifying the image during the build process - Some builds do not require the root user for container builds to be completed.

⁠Downloading The Debian Container

This repository is connected to Docker Hub - so you will always find the latest builds there. Execute the docker pull command in order to get the required image:

  • geoffh1977/debian:latest - The latest build that was completed
  • geoffh1977/debian:11 - The latest build of a Major version number
  • geoffh1977/debian:11.3 - The latest build of a Minor version series

Tag summary

Content type

Image

Digest

sha256:10547810c…

Size

50.1 MB

Last updated

about 2 years ago

docker pull geoffh1977/debian