docker-machine regenerate-certs

regenerate-certs Usage: docker-machine regenerate-certs [OPTIONS] [arg...] Regenerate TLS Certificates for a machine Description: Argument(s) are one or more machine names. Options: --force, -f Force rebuild and do not prompt Regenerate TLS certificates and update the machine with new certs. For example: $ docker-machine regenerate-certs dev Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y Regenerating TLS certificates

Evaluate Swarm in a sandbox

Evaluate Swarm in a sandbox This getting started example shows you how to create a Docker Swarm, the native clustering tool for Docker. You’ll use Docker Toolbox to install Docker Machine and some other tools on your computer. Then you’ll use Docker Machine to provision a set of Docker Engine hosts. Lastly, you’ll use Docker client to connect to the hosts, where you’ll create a discovery token, create a cluster of one Swarm manager and nodes, and manage the cluster. When you finish, you’ll have

Provision hosts in the cloud

Use Docker Machine to provision hosts on cloud providers Docker Machine driver plugins are available for many cloud platforms, so you can use Machine to provision cloud hosts. When you use Docker Machine for provisioning, you create cloud hosts with Docker Engine installed on them. You’ll need to install and run Docker Machine, and create an account with the cloud provider. Then you provide account verification, security credentials, and configuration options for the providers as flags to docke

docker commit

commit Usage: docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]] Create a new image from a container's changes -a, --author="" Author (e.g., "John Hannibal Smith <hannibal@a-team.com>") -c, --change=[] Apply specified Dockerfile instructions while committing the image --help Print usage -m, --message="" Commit message -p, --pause=true Pause container during commit It can be useful to commit a container’s file changes or settings into a new image.

docker-machine upgrade

upgrade Upgrade a machine to the latest version of Docker. How this upgrade happens depends on the underlying distribution used on the created instance. For example, if the machine uses Ubuntu as the underlying operating system, it will run a command similar to sudo apt-get upgrade docker-engine, because Machine expects Ubuntu machines it manages to use this package. As another example, if the machine uses boot2docker for its OS, this command will download the latest boot2docker ISO and replace

Amazon CloudWatch Logs logging driver

Amazon CloudWatch Logs logging driver The awslogs logging driver sends container logs to Amazon CloudWatch Logs. Log entries can be retrieved through the AWS Management Console or the AWS SDKs and Command Line Tools. Usage You can configure the default logging driver by passing the --log-driver option to the Docker daemon: docker daemon --log-driver=awslogs You can set the logging driver for a specific container by using the --log-driver option to docker run: docker run --log-driver=awslogs ..

docker-machine start

start Usage: docker-machine start [arg...] Start a machine Description: Argument(s) are one or more machine names. For example: $ docker-machine start dev Starting VM...

Seccomp security profiles for Docker

Seccomp security profiles for Docker Secure computing mode (Seccomp) is a Linux kernel feature. You can use it to restrict the actions available within the container. The seccomp() system call operates on the seccomp state of the calling process. You can use this feature to restrict your application’s access. This feature is available only if Docker has been built with seccomp and the kernel is configured with CONFIG_SECCOMP enabled. To check if your kernel supports seccomp: $ cat /boot/config-

docker volume create

volume create Usage: docker volume create [OPTIONS] Create a volume -d, --driver=local Specify volume driver name --help Print usage --label=[] Set metadata for a volume --name= Specify volume name -o, --opt=map[] Set driver specific options Creates a new volume that containers can consume and store data in. If a name is not specified, Docker generates a random name. You create a volume and then configure the container to use it, for

Remote API client libraries

Docker Remote API client libraries These libraries make it easier to build applications on top of the Docker Remote API with various programming languages. They have not been tested by the Docker maintainers for compatibility, so if you run into any issues, file them with the library maintainers. Language/Framework Name Repository C# Docker.DotNet https://github.com/ahmetalpbalkan/Docker.DotNet C++ lasote/docker_client https://github.com/lasote/docker_client Erlang erldocker https://github.com/