Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
/ docker Public

Script to start apps as a docker container

License

Notifications You must be signed in to change notification settings

rahilsh/docker

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

apps-on-docker

Docker manifests for popular apps

Prerequisite

  • Docker setup and prior knowledge of docker and docker-compose
  • Basic understanding of dockerized apps in this repo

Docker Notes

Resource Isolation

Docker uses below for process and resource isolation

  • cgroup
  • namespaces

Run Docker get started on local

docker run --name repo alpine/git clone https://github.com/docker/getting-started.git

docker cp repo:/git/getting-started/ .

cd getting-started
docker build -t docker101tutorial .

docker run -d -p 80:80 --name docker-tutorial docker101tutorial

docker tag docker101tutorial rahilsh/docker101tutorial
docker push rahilsh/docker101tutorial

Docker commands

Check image contents

docker save nginx > nginx.tar
tar -xvf nginx.tar

To delete all containers including its volumes use,

docker rm -vf $(docker ps -aq)

To delete all the images

docker rmi -f $(docker images -aq)

About

Script to start apps as a docker container

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Morty Proxy This is a proxified and sanitized view of the page, visit original site.