Skip to content

meltingscales/2019-team-07f-dockerized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

2019-team-07f-dockerized

A Dockerized school project.

See http://github.com/HenryFBP/2019-team-07f/ for the non-Dockerized version, which used Packer and Vagrant.

Building

cd docker
docker-compose build

Running

cd docker
docker-compose up

Using the app

Go to http://localhost:5001/

Misc

https://www.portainer.io/

https://docs.docker.com/develop/develop-images/dockerfile_best-practices/

Removing all containers

This will cause you to have to rebuild ALL containers.

Only use if you need to.

Run docker ps -a -q to see all Docker containers.

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)

SSHing to a specific container

docker exec -it 2019team07f-storage    /bin/bash
docker exec -it 2019team07f-webserver  /bin/bash
docker exec -it 2019team07f-database   /bin/bash
...etc