Docker provisioner allows you to manage containers.
- A server configuration contains one or several server blocks
- A server block contains a portion of the server configuration.
A server block can be configured in:
- Puppet manifests
- Chef cookbooks
- Docker containers
- ManageaCloud modules
- Shell (the generic interface)
1 - Login to your ManageaCloud.com account
Sign in to you account
2 - Click on "New server configuration"
3 - Add some basic information
The first step is to create the server configuration itself. Title is required, description is optional.
4 - Select provisioner
In the Containers tab select Docker.
5 - Adding the first container
You now have to select the configuration for the first container.
- If container definition is a Dockerfile, select the Git repository that contains the configuration.
- If container definition is in a Registry, select the Registry tab.
The images from the registry can be used in the Docker Hub or a private registry.
6 - Container details
The following information must be added.
- Container name, specifying how you want to identify this container.
- Environment variables, if the container can be tuned with environment variables, you cann add those values here.
- Port mapping, specifies what ports you want to be visible to the host.
- Volumes, specifies the path for the persistent storage in the host.
- Container link, if the container needs to be linked to other containers, you can use this option. This will provide a list of the existing container in the server configuration. When adding the first container this option will always be empty.
7 - Add more containers
You can always add more containers from the server configuration overview.
8 - That's it!
Now you can reproduce the creation and configuration of the server as much as you like. Have a look at how to orchestrate configurations.