https://github.com/devel0/docker-ubuntu
base ubuntu with some basic utilities and settings
https://github.com/devel0/docker-ubuntu
docker linux ubuntu
Last synced: about 2 months ago
JSON representation
base ubuntu with some basic utilities and settings
- Host: GitHub
- URL: https://github.com/devel0/docker-ubuntu
- Owner: devel0
- License: mit
- Created: 2018-01-21T14:53:02.000Z (over 8 years ago)
- Default Branch: focal
- Last Pushed: 2023-05-31T14:46:28.000Z (about 3 years ago)
- Last Synced: 2025-10-11T06:10:01.625Z (9 months ago)
- Topics: docker, linux, ubuntu
- Language: Dockerfile
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-ubuntu
base ubuntu with some basic utilities and settings
## build image
```sh
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:
```sh
./build.sh --network=dkbuild
```
## run image
follow create a test named container running an interactive bash terminal
```sh
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
```sh
docker run --rm=true searchathing/ubuntu:server-mgr ls
```
## container timezone
can be set through TZ environment variable as shown follow examples
```sh
# 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](https://github.com/devel0/docker-rdp/blob/75b0fd9a84cdef4a7c4e51dda318fc31de959ac5/Dockerfile#L5) you can set addictional entrypoints by placing an executable script in /entrypoint.d directory