Skip to content

ubitrek/hello_world_docker

Repository files navigation

docker-compose -f /home2/projects/hello_world_docker/docker-compose.yml build
docker-compose -f /home2/projects/hello_world_docker/docker-compose.yml up -d
docker ps
docker inspect helloworld_web_1
curl http://127.0.0.1:80

TEST
docker-compose -f /home2/projects/hello_world_docker/docker-compose.test.yml -p ci build
docker-compose -f /home2/projects/hello_world_docker/docker-compose.test.yml -p ci up -d
docker logs -f ci_sut_1
docker wait ci_sut_1



# Delete every Docker containers
# Must be run first because images are attached to containers
docker rm -f $(docker ps -a -q)

# Delete every Docker image
docker rmi -f $(docker images -q)

About

Hello world docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published