docker-machine config

config Usage: docker-machine config [OPTIONS] [arg...] Print the connection config for machine Description: Argument is a machine name. Options: --swarm Display the Swarm config instead of the Docker daemon For example: $ docker-machine config dev --tlsverify --tlscacert="/Users/ehazlett/.docker/machines/dev/ca.pem" --tlscert="/Users/ehazlett/.docker/machines/dev/cert.pem" --tlskey="/Users/ehazlett/.docker/machines/dev/key.pem" -H tcp://192.168.99.103:2376

Learn the application architecture

Learn the application architecture On this page, you learn about the Swarm at scale example. Make sure you have read through the introduction to get an idea of the skills and time required first. Learn the example back story Your company is a pet food company that has bought a commercial during the Superbowl. The commercial drives viewers to a web survey that asks users to vote – cats or dogs. You are developing the web survey. Your survey must ensure that millions of people can vote concurrent

Command-line Completion

Command-line Completion Docker Machine comes with command completion for the bash shell. Installing Command Completion Bash Make sure bash completion is installed. If you use a current Linux in a non-minimal installation, bash completion should be available. On a Mac, install with brew install bash-completion Place the completion scripts in /etc/bash_completion.d/ (`brew --prefix`/etc/bash_completion.d/ on a Mac), using e.g. files=(docker-machine docker-machine-wrapper docker-machine-prompt) fo

Deploy application infrastructure

Deploy your infrastructure In this step, you create several Docker hosts to run your application stack on. Before you continue, make sure you have taken the time to learn the application architecture. About these instructions This example assumes you are running on a Mac or Windows system and enabling Docker Engine docker commands by provisioning local VirtualBox virtual machines thru Docker Machine. For this evaluation installation, you’ll need 6 (six) VirtualBox VMs. While this example uses D

Installation on Oracle Linux

Oracle Linux Docker is supported Oracle Linux 6 and 7. You do not require an Oracle Linux Support subscription to install Docker on Oracle Linux. Prerequisites Due to current Docker limitations, Docker is only able to run only on the x86_64 architecture. Docker requires the use of the Unbreakable Enterprise Kernel Release 4 (4.1.12) or higher on Oracle Linux. This kernel supports the Docker btrfs storage engine on both Oracle Linux 6 and 7. Install Note: The procedure below installs binaries b

Using Puppet

Using Puppet Note: Please note this is a community contributed installation path. The only official installation is using the Ubuntu installation path. This version may sometimes be out of date. Requirements To use this guide you’ll need a working installation of Puppet from Puppet Labs . The module also currently uses the official PPA so only works with Ubuntu. Installation The module is available on the Puppet Forge and can be installed using the built-in module tool. $ puppet module instal

docker network ls

docker network ls Usage: docker network ls [OPTIONS] Lists all the networks created by the user -f, --filter=[] Filter output based on conditions provided --help Print usage --no-trunc Do not truncate the output -q, --quiet Only display numeric IDs Lists all the networks the Engine daemon knows about. This includes the networks that span across multiple hosts in a cluster, for example: $ sudo docker network ls NETWORK ID NAME

Link Environment Variables

Link environment variables reference Note: Environment variables are no longer the recommended method for connecting to linked services. Instead, you should use the link name (by default, the name of the linked service) as the hostname to connect to. See the docker-compose.yml documentation for details. Environment variables will only be populated if you’re using the legacy version 1 Compose file format. Compose uses Docker links to expose services’ containers to one another. Each linked cont

docker-compose start

start Usage: start [SERVICE...] Starts existing containers for a service.

docker start

start Usage: docker start [OPTIONS] CONTAINER [CONTAINER...] Start one or more containers -a, --attach Attach STDOUT/STDERR and forward signals --detach-keys Specify the escape key sequence used to detach a container --help Print usage -i, --interactive Attach container's STDIN