- Install docker
- Install docker-compose
Note: Make sure to stop running containers between steps, else you might encounder errors.
If a container is running in the background using the -d
flag, you can stop it with:
docker ps
to find the running containers and
docker stop <CONTAINER ID>
to stop a running container
docker run --name my-mongo –d –p 27017:27017 mongo
pip install -r requirements.txt
python app.py
Navigate to http://localhost:8080
docker build -t mypythonapp .
docker run -p 8080:8080 --name mypythoncontainer mypythonapp
docker-compose build
docker-compose up
cd graylog_example
docker-compose up