Create Python Flask Docker Container
Create a folder and change to the folder mkdir python-flask cd python-flask Create file vi Dockerfile Add following content FROM python:2.7-slim WORKDIR…
Create a folder and change to the folder mkdir python-flask cd python-flask Create file vi Dockerfile Add following content FROM python:2.7-slim WORKDIR…
To set a docker container to start on system reboot, run docker update –restart=unless-stopped CONTAINER_ID Replace CONTAINER_ID with actual ID of your…
Docker Nginx Proxy allow you to run multiple docker containers on same server behind nginx proxy. This is done using https://github.com/jwilder/nginx-proxy To…
First create a file docker-eb-run.json with following content { “AWSEBDockerrunVersion”: “1”, “Image”: { “Name”: “bitnami/tomcat” }, “Ports”: [ { “ContainerPort”: “8080” }…
To install docker on Ubuntu 16.04, run wget -qO- https://get.docker.com/ | sh To run docker commands as your user, run usermod -aG…
Before you can delete a docker image, you need to delete any container that is based on this image. So see how…
CoreOS is a container-optimized Linux operating system to be used under docker/Kubernetes. On January 30, 2018, Red Hat, Inc. announced that it…
On a Cpanel Server with an old version of PHP, one of the applications requires MySQL 5.6 to work. Since the PHP…
If you need to try docker on web without installing on your computer, use https://labs.play-with-docker.com Docker Install Docker Basics Docker Delete Conatiner/Image…