base ubuntu with some basic utilities and settings
git clone https://github.com/devel0/docker-ubuntu.git
cd docker-ubuntu
git checkout server-mgr
./build.sh
you can specify addictional docker build arguments, example:
./build.sh --network=dkbuild
follow create a test named container running an interactive bash terminal
docker run --name=test -ti searchathing/ubuntu:server-mgr
default cmd is to execute a /bin/bash. follow create, execute and remove a container executing a command
docker run --rm=true searchathing/ubuntu:server-mgr ls
can be set through TZ environment variable as shown follow examples
# docker run --rm=true searchathing/ubuntu:server-mgr date
Tue Feb 27 18:00:38 UTC 2018
# docker run -e TZ="Europe/Rome" --rm=true searchathing/ubuntu:server-mgr date
Tue Feb 27 19:00:41 CET 2018
on derived images you can set addictional entrypoints by placing an executable script in /entrypoint.d directory