https://github.com/programmerqeu/docker-test
Learn more about docker with a living example prototype
https://github.com/programmerqeu/docker-test
Last synced: about 1 year ago
JSON representation
Learn more about docker with a living example prototype
- Host: GitHub
- URL: https://github.com/programmerqeu/docker-test
- Owner: programmerqeu
- Created: 2015-09-10T20:56:37.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-19T09:40:10.000Z (over 10 years ago)
- Last Synced: 2025-06-10T15:17:21.818Z (about 1 year ago)
- Language: Shell
- Size: 160 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker test
## Custom Build
```
docker build -t dockertest .
```
## Run
```
docker run -t -i dockertest:latest /bin/bash
```
## Usage
It supports all the basic docker tasks:
- make build (build image)
- make run (run container's default cmd)
- make shell (run bash in container)
- make start (start container in daemon mode)
- make stop (stop the container)
- make rm (remove the container)
- make push (push container to registry, default is private registry)
Default task is to **build** the container using Dockerfile in the same
directory as is the Makefile.