Connect the Portainer Server to an existing Portainer Agent

With Portainer we can monitor multiple Docker Swarms from one Portainer Server. To connect an existing Portainer server to an agent Configure the Agent For security reasons, by default, the Portainer Agent only accepts connection from the first Portainer Server it encounters. To enable the Portainer Agent to connect to multiple Portainer Servers, add the …

Portainer troubleshooting

The Portainer server restarts every 5 minutes before the admin account is created When the Portainer server starts, waits 5 minutes for a user to create the admin account. If no account created in the first 5 minutes, the server stops with error code 1, message: No administrator account was created after 5 min. Shutting …

Troubleshoot stopped containers

The stopped Docker containers are still available for troubleshooting. You can create an image of them and run them as new containers to inspect the log files and execute commands in them. View the standard output of the failed container Run a failing container with a Bash terminal If a container exists with an error …

Docker Swarm overview

Docker Swarm Hierarchy image in the registry container task ( container and the command to run in it ) service ( one or multiple instances of the same task, like multiple copies of the same web API ) stack ( one or multiple services that belong together, like a front end web application, middle tier, …

Install and configure Visual Studio Code

Install Visual Studio Code See https://code.visualstudio.com/docs/setup/mac Configure Visual Studio Code Start Visual Studio Code from the command line I think this is the most important setting. If anything, this should be enabled. Start Visual Studio Code Open the Command Palette On Mac press Shift, Command, P On Windows press Shift, Control, P Type shell command into …

You must specify a region. You can also configure your region by running “aws configure”.

When we execute an AWS CLI command, we need to supply the AWS Region. If it is not specified, we get the error message: You must specify a region. You can also configure your region by running “aws configure”. We can add the region with the –region command line argument, or store it in the …