ZFS storage in practice

Docker and ZFS in practice ZFS is a next generation filesystem that supports many advanced storage technologies such as volume management, snapshots, checksumming, compression and deduplication, replication and more. It was created by Sun Microsystems (now Oracle Corporation) and is open sourced under the CDDL license. Due to licensing incompatibilities between the CDDL and GPL, ZFS cannot be shipped as part of the mainline Linux kernel. However, the ZFS On Linux (ZoL) project provides an out-o

Hello world in a container

Hello world in a container So what’s this Docker thing all about? Docker allows you to run applications, worlds you create, inside containers. Running an application inside a container takes a single command: docker run. Note: Depending on your Docker system configuration, you may be required to preface each docker command on this page with sudo. To avoid this behavior, your system administrator can create a Unix group called docker and add users to it. Run a Hello world Let’s run a hello wor

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.

Compose File Reference

Compose file reference The Compose file is a YAML file defining services, networks and volumes. The default path for a Compose file is ./docker-compose.yml. A service definition contains configuration which will be applied to each container started for that service, much like passing command-line parameters to docker run. Likewise, network and volume definitions are analogous to docker network create and docker volume create. As with docker run, options specified in the Dockerfile (e.g., CMD, E

docker daemon

daemon Usage: docker daemon [OPTIONS] A self-sufficient runtime for linux containers. Options: --api-cors-header="" Set CORS headers in the remote API --authorization-plugin=[] Set authorization plugins to load -b, --bridge="" Attach containers to a network bridge --bip="" Specify network bridge IP --cgroup-parent= Set parent cgroup for all containers --cluster-store=""

docker rm

rm Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...] Remove one or more containers -f, --force Force the removal of a running container (uses SIGKILL) --help Print usage -l, --link Remove the specified link -v, --volumes Remove the volumes associated with the container Examples $ docker rm /redis /redis This will remove the container referenced under the link /redis. $ docker rm --link /webapp/redis /webapp/redis This will remove th

Volume plugins

Write a volume plugin Docker Engine volume plugins enable Engine deployments to be integrated with external storage systems, such as Amazon EBS, and enable data volumes to persist beyond the lifetime of a single Engine host. See the plugin documentation for more information. Command-line changes A volume plugin makes use of the -vand --volume-driver flag on the docker run command. The -v flag accepts a volume name and the --volume-driver flag a driver type, for example: $ docker run -ti -v volu

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

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

Get started with a local VM

Get started with Docker Machine and a local VM Let’s take a look at using docker-machine for creating, using, and managing a Docker host inside of VirtualBox. Prerequisites Make sure you have the latest VirtualBox correctly installed on your system. If you used Toolbox for Mac or Windows to install Docker Machine, VirtualBox is automatically installed. If you used the Quickstart Terminal to launch your first machine and set your terminal environment to point to it, a default machine was automat