Build your own bridge

Build your own bridge This section explains how to build your own bridge to replace the Docker default bridge. This is a bridge network named bridge created automatically when you install Docker. Note: The Docker networks feature allows you to create user-defined networks in addition to the default bridge network. You can set up your own bridge before starting Docker and use -b BRIDGE or --bridge=BRIDGE to tell Docker to use your bridge instead. If you already have Docker up and running with

VMware Fusion

VMware Fusion Creates machines locally on VMware Fusion. Requires VMware Fusion to be installed. $ docker-machine create --driver vmwarefusion vm Options: --vmwarefusion-boot2docker-url: URL for boot2docker image. --vmwarefusion-cpu-count: Number of CPUs for the machine (-1 to use the number of CPUs available) --vmwarefusion-disk-size: Size of disk for host VM (in MB). --vmwarefusion-memory-size: Size of memory for host VM (in MB). --vmwarefusion-no-share: Disable the mount of your home d

AUFS storage driver in practice

Docker and AUFS in practice AUFS was the first storage driver in use with Docker. As a result, it has a long and close history with Docker, is very stable, has a lot of real-world deployments, and has strong community support. AUFS has several features that make it a good choice for Docker. These features enable: Fast container startup times. Efficient use of storage. Efficient use of memory. Despite its capabilities and long history with Docker, some Linux distributions do not support AUFS.

Understand the architecture

Understand the architecture Docker is an open platform for developing, shipping, and running applications. Docker is designed to deliver your applications faster. With Docker you can separate your applications from your infrastructure and treat your infrastructure like a managed application. Docker helps you ship code faster, test faster, deploy faster, and shorten the cycle between writing code and running code. Docker does this by combining kernel containerization features with workflows and

Quickstart: Compose and WordPress

Quickstart: Docker Compose and WordPress You can use Docker Compose to easily run WordPress in an isolated environment built with Docker containers. This quick-start guide demonstrates how to use Compose to set up and run WordPress. Before starting, you’ll need to have Compose installed. Define the project Create an empty project directory. You can name the directory something easy for you to remember. This directory is the context for your application image. The directory should only contain

Network containers

Network containers If you are working your way through the user guide, you just built and ran a simple application. You’ve also built in your own images. This section teaches you how to network your containers. Name a container You’ve already seen that each container you create has an automatically created name; indeed you’ve become familiar with our old friend nostalgic_morse during this guide. You can also name containers yourself. This naming provides two useful functions: You can name conta

Quickstart

Docker Engine Quickstart This quickstart assumes you have a working installation of Docker Engine. To verify Engine is installed and configured, use the following command: # Check that you have a working install $ docker info If you have a successful install, the system information appears. If you get docker: command not found or something like /var/lib/docker/repositories: permission denied you may have an incomplete Docker installation or insufficient privileges to access Engine on your mach

Installation on Fedora

Fedora Docker is supported on Fedora version 22 and 23. This page instructs you to install using Docker-managed release packages and installation mechanisms. Using these packages ensures you get the latest release of Docker. If you wish to install using Fedora-managed packages, consult your Fedora release documentation for information on Fedora’s Docker support. Prerequisites Docker requires a 64-bit installation regardless of your Fedora version. Also, your kernel must be 3.10 at minimum. To c

docker rename

rename Usage: docker rename [OPTIONS] OLD_NAME NEW_NAME Rename a container --help Print usage The docker rename command allows the container to be renamed to a different name.

docker-compose down

down Usage: down [options] Options: --rmi type Remove images. Type must be one of: 'all': Remove all images used by any service. 'local': Remove only images that don't have a custom tag set by the `image` field. -v, --volumes Remove named volumes declared in the `volumes` section of the Compose file and anonymous volumes attached to containers. --re