Skip to content

devel0/docker-ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-ubuntu

base ubuntu with some basic utilities and settings

build image

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

run image

follow create a test named container running an interactive bash terminal

docker run --name=test -ti searchathing/ubuntu:server-mgr

override default command

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

container timezone

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

dynamic entrypoints

on derived images you can set addictional entrypoints by placing an executable script in /entrypoint.d directory

About

base ubuntu with some basic utilities and settings

Topics

Resources

License

Stars

Watchers

Forks