Docker

docker-compose.yml version: "2" services: nginx: image: nginx container_name: nginx restart: always links: - ghost - jenkins ports: - "80:80" volumes: - /home/debian/nginx:/etc/nginx ghost: image: ghost:1.19 container_name: ghost restart: always expose: - "2368" environment: - »

> mkdir ghost > nano ghost/Dockerfile Put into the Dockerfile: FROM ghost:1.8 > docker build ghost/ > docker tag ghost wapacz/ghost > docker login ... > docker tag ghost wapacz/ghost > docker push wapacz/ghost »