Since Docker containers don’t have the embedded GUI for their management, the most common way to take the full control over such an instance is connecting to it under the SSH protocol and perform any desired operations inside using the corresponding terminal commands.
- Docker Container Configurations - allows to customize the main container settings (like variables, volumes, linking, run options, opened ports, etc)
Configuration Manager - provides the full root access to the container’s file system, allowing to operate with all of the comprised files
In addition, you can leverage the Jelastic-dedicated CLI client, which provides the advanced remote management for all types of environments and nodes and allows to automate your app’s lifecycle via scripts.
SSH connection to a container can be established in two ways:
- through the Jelastic SSH Gateway as for any other environment. The flow will be the following:
- or, if you don’t want to use SSH keys, you need to attach the public IP address to the required node and perform the next steps:
- open your terminal emulator
- enter the ssh [username]@[hostname] string, where the username is your login, and hostname is the Public IP address (you receive these credentials via email everytime a new Docker® container is created or added to the environment)
specify the requested password (can be found in the email also)
Once you’ve entered your Docker container, you can perform any required configurations, thanks to the full root permissions granted.