Below you will find pages that utilize the taxonomy term “Docker”

Moving Docker Runtime and Storage Location

For the Linux operating system, these steps document how to free up some space in the root volume of your operating system by moving the docker runtime location from /var/lib/docker/ to the /home volume.

WordPress from Development to Production using Docker Part II

This post continues where part one left off. Topics include mysql data migration, staging and production docker configurations with optional https.

WordPress from Development to Production using Docker

This post will cover how to use Docker for a local WordPress development environment and how to deploy it to an Ubuntu Linux server running docker.

SSL Certificate Authority for Docker and Traefik

This post documents how to get https working on your local Docker development environment using Traefik as a reverse proxy for multiple services.

Nginx Reverse Proxy

Examples for using Jason Wilder’s Automated Nginx Reverse Proxy for Docker. This solution uses docker-compose files and Jason’s trusted reverse proxy image that contains a configuration using virtual hosts for routing Docker containers.

Node.js Koa Container

An example of how to create a Docker container application using Koa.js Next generation web framework for Node.js.

VPS Proof of Concept for Docker and Traefik

This is a proof of concept for a VPS that includes ConfigServer Firewall (csf), Docker, Open SSH Server and Traefik as a reverse proxy to host multiple applications on the same Docker host.

VPS Proof of Concept for Docker and Traefik - Page 2

CSF Docker Configuration Disable Docker daemon automatic iptable rules with an override at the ExecStart section of the main docker.service. This prevents the Docker daemon from configuring iptables. sudo nano /etc/systemd/system/multi-user.target.wants/docker.service Append --iptables=false to ExecStart=/usr/bin/dockerd -H fd://. For example, ExecStart=/usr/bin/dockerd -H fd:// --iptables=false If Docker gets an upgrade during apt-get dist-upgrade, this docker.service file may get overwritten and you will need update it to override ExecStart again.

Docker Laravel Dev Environment

This post documents building a local Laravel development environment with Docker. Included are examples for debugging Laravel’s PHP with Xdebug using the Visual Studio Code editor. Source Code available on GitHub.

Docker Drupal Dev Environment

This post documents mounting a new Drupal Composer project as a volume in a Docker container. Features include Drush, Drupal Console, mailhog and phpMyAdmin. A Docker-sync configuration is available for OS X.

Docker WordPress Dev Environment

This post documents setting up local development environments with Docker using the official WordPress Docker repository as a base image. Page two includes configurations for remote PHP debugging with Xdebug and VS Code.

Docker WordPress Dev Environment - Page 2

Remote Debugging with Xdebug and VS Code In order to set breakpoints and step through the PHP code used in WordPress core, themes and plugins, The Xdebug PHP extension needs to be installed, configured and built into an image. IP address for the xdebug.remote_host setting is needed to configure the extension. Windows 10 Professional running Docker Version 17.03.0-ce-win1, open a command prompt and enter ipconfig. The address is listed under DockerNAT.

Docker

Docker Resources Docker Documentation. To learn what Docker is, the official Docker Overview is an excellent resource. Containers # list docker ps -a # list running docker ps --filter status=running # stop all docker stop $(docker ps -a -q) # remove all docker rm $(docker ps -a -q) # remove docker rm [CONTAINER ID] # remove associated data volumes docker rm -v [CONTAINER ID] # logs docker logs [CONTAINER ID] # bash docker exec -it [CONTAINER ID] /bin/bash # shell docker exec -it [CONTAINER ID] sh You can substitute the container name for the id.