Skip to content
Ubuntu sandbox with non-root user
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md
op.conf

README.md

Sandbox Ubuntu Image

This ubuntu image attempts to immitate a standard (non docker) ubuntu workstation.

It contains the essential packages pre-installed, and a non root user (with sudo privileges) named ubuntu

Usage

$ docker run --rm -it dannyben/ubuntu

Using it as a base image

Since this image sets the user to ubuntu, if you need to execute commands that require root access in your image, you need to use this pattern:

FROM dannyben/ubuntu
USER root

# root stuff goes here

USER ubuntu

You can’t perform that action at this time.