0% found this document useful (0 votes)
87 views8 pages

Docker Presentation

This document provides information about Docker and its usage. It discusses installing Docker on Windows and Linux, using Docker images and containers, and common Docker commands. Key points include: - Docker can be installed on Windows using Docker Toolbox or on Linux using instructions from DigitalOcean. Docker Compose is also introduced. - Images define the software configuration and containers are runtime instances of images. - Common Docker commands shown include docker run, docker ps, docker images, docker logs, docker exec, and docker-compose commands.

Uploaded by

MrScors
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views8 pages

Docker Presentation

This document provides information about Docker and its usage. It discusses installing Docker on Windows and Linux, using Docker images and containers, and common Docker commands. Key points include: - Docker can be installed on Windows using Docker Toolbox or on Linux using instructions from DigitalOcean. Docker Compose is also introduced. - Images define the software configuration and containers are runtime instances of images. - Common Docker commands shown include docker run, docker ps, docker images, docker logs, docker exec, and docker-compose commands.

Uploaded by

MrScors
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

DOCKER

Windows
https://github.com/docker/toolbox/releases <= docker+docker-compose+OracleVM
Linux
https://www.digitalocean.com/community/tutorials/docker-ubuntu-18-04-1-ru <= docker
https://docs.docker.com/compose/install/ <= docker-compose
LASAGNA IMAGE

Front end
Back end
Database
OS
HEALTHY STRUCTURE

Front end Back end


OS OS

Database
OS
Image Container
docker logs (-f) 
 --port 8080:8080

BACKEND
KAFKA/UI/DB
ENTRYPOINT [“java” “-jar” “SUPER_APP.jar”]

HOW DOES IT WORK? restart: always docker-compose.yaml


<finalName>SUPER_APP</finalName>
docker run –name ${container_name} FROM mysql:3.6 Dockerfile docker system prune
docker-compose down docker ps -a docker images docker exec -u 0 -it ${name} bin/bash
ADD target/SUPER_APP.jar SUPER_APP.jar docker image ls -a docker-compose down
docker images FROM openjdk:8 docker ps docker-compose up
docker rm ${container_name} Let’s see… 192.168.99.100 depentds_on:
docker system prune version: ‘3.1’ docker exec -u 0 -it ${container_name} bin/bash
docker ps -a docker system prune docker --version docker run –d –name ${container_name}
docker-compose.yaml FROM mysql:8.0 Docker build –t ${image_name} ${path_to_dockerfile}
docker-compose down docker run –-name ${container_name} –p 8080:8080 ${image_name}
docker-compose up docker logs ${container_name} docker -v docker images docker ps
docker stop ${container_name} docker image ls -a version: ‘3.0’ docker-compose.yaml
FI
N

You might also like