Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and deploy it as one package.
These instructions will cover usage information and for the docker container
In order to run this container you'll need docker installed.
List all images
docker imagesDelete images
docker rmi [IMAGE ID]List all container
docker ps -aStart docker container
docker start [options] container_idYou can specify the container by either using its name or ID (long or short). To create a new container from an image and start it, use docker run:
docker run [options] image [command] [argument]
Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application's services. Then, using a single command, you create and start all the services from your configuration. To learn more about all the features of Compose see the list of features.
Using Compose is basically a three-step process.
- Define your app's environment with a
Dockerfileso it can be reproduced anywhere. - Define the services that make up your app in
docker-compose.ymlso they can be run together in an isolated environment. - Lastly, run
docker-compose upand Compose will start and run your entire app.
docker-compose.yml looks like this:
version: '3'
services:
web:
build: .
ports:
- "5000:5000"
volumes:
- .:/code
Pull requests are welcome.
See the guidelines for contributing to this project.