docker-compose: error while loading shared libraries
When running docker-compose on CentOS 7, i get following error To fix the error, do the following Now create a
Dockerfile
Create Python Flask Docker Container
Create Python Flask Docker Container
Create a folder and change to the folder Create file Add following content Create file requirements.txt, add “Flask” to it.
Create Kubernetes cluser using gcloud
Login to gcloud with Set default region To create a cluser, run To create a cluster with 2 nodes, run
Docker container start on boot
To set a docker container to start on system reboot, run Replace CONTAINER_ID with actual ID of your container. You
Docker Nginx Proxy
Docker Nginx Proxy allow you to run multiple docker containers on same server behind nginx proxy. This is done using
Docker Build
Build a docker container with Apache docker build command is used to create a docker image from Dockerfile. To create
Installing Docker on Ubuntu 16.04
To install docker on Ubuntu 16.04, run To run docker commands as your user, run Docker
docker search
docker search command allows you to search for images in docker hub. Example To see results with 4 or more
Docker Login
docker login command allows you to login to docker.com. You need to login to docker before you can upload your
portainer – Web based UI for Docker
Portainer is a web based UI for managing docker. https://portainer.io/ You can run it with command Now login to portainer
Docker detach container
Docker container stop once the main program it started with stop running. If you start a docker container with console