Deploying containers in a swarm environment: Access to Containers

More manuals

Access to Containers

The containers can be accessed using the console terminal:

Go to "Exec Console" icon:

 

That will open a window with container console access, use the predetermined information, and click "Connect":

  • Command: /bin/bash
  • Use custom command: disabled
  • User: root

 

If the connection is successful, it will appear the console:

Note: Take into account that every time that you need a packet installation:

  • You must run previously "apt-get update" command.
  • This installation is not persistent. When the container is restarted, you have to install the packet again. We recommend creating a custom image with all packages (except if you want to use some text editor, git command, etc.).