Friday, June 14, 2019

Docker Journal

curl -L https://github.com/docker/compose/releases/download/1.25.0-rc1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

https://github.com/nanoninja/docker-nginx-php-mongo


https://computingforgeeks.com/how-to-install-docker-on-fedora/

ERROR: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 111.115.120.19:53: no such host
Setup proxy for docker
https://docs.docker.com/config/daemon/systemd/#httphttps-proxy

docker stop $(docker ps -aq)
docker rm $(docker ps -aq)

docker run -d -p 8080:80 -v ${PWD}/web:/usr/share/nginx/html --name artnginx nginx

docker exec -it artnginx bash

Monday, June 10, 2019

inotify in Linux

https://www.linuxjournal.com/content/linux-filesystem-events-inotify

Sunday, June 9, 2019

Install Docker

curl -sSL https://get.docker.com/ | sh  but you can also install in a more manual method by following specific instructions on the Docker Store for your distribution, like this one for Ubuntu.