docker-compose kill

kill Usage: kill [options] [SERVICE...] Options: -s SIGNAL SIGNAL to send to the container. Default signal is SIGKILL. Forces running containers to stop by sending a SIGKILL signal. Optionally the signal can be passed, for example: $ docker-compose kill -s SIGINT

docker-compose start

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

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

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

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

docker network inspect

network inspect Usage: docker network inspect [OPTIONS] NETWORK [NETWORK..] Displays detailed information on a network -f, --format= Format the output using the given go template. --help Print usage Returns information about one or more networks. By default, this command renders all results in a JSON object. For example, if you connect two containers to the default bridge network: $ sudo docker run -itd --name=container1 busybox f2870c98fd504370fb86e59f32cd0753b1ac9b69

docker-compose CLI Environment Variables

CLI Environment Variables Several environment variables are available for you to configure the Docker Compose command-line behaviour. Variables starting with DOCKER_ are the same as those used to configure the Docker command-line client. If you’re using docker-machine, then the eval "$(docker-machine env my-docker-vm)" command should set them to their correct values. (In this example, my-docker-vm is the name of a machine you created.) Note: Some of these variables can also be provided using a

Network configuration

Bind container ports to the host The information in this section explains binding container ports within 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. By default Docker containers can make connections to the outside world, but the outside world cannot connect to containers. Each outgoing connection will appear

Remote API v1.18

Docker Remote API v1.18 1. Brief introduction The Remote API has replaced rcli. The daemon listens on unix:///var/run/docker.sock but you can Bind Docker to another host/port or a Unix socket. The API tends to be REST, but for some complex commands, like attach or pull, the HTTP connection is hijacked to transport STDOUT, STDIN and STDERR. 2. Endpoints 2.1 Containers List containers GET /containers/json List containers Example request: GET /containers/json?all=1&before=8dfafdbc3a40&am

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