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 …
Author Archives: Laszlo Pinter
Chef Test Kitchen converge pauses with Transferring files to <...>
The first step of the Chef Test Kitchen converge operation is to transfer the cookbooks to the instance. If any of the cookbooks contain large files, the operation can take minutes while the terminal displays the message Transferring files to < … >
Docker Stack commands
List the Docker Stacks NAME SERVICES ORCHESTRATORsyslog-ng_splunk 3 Swarm List all Docker services List the services of a stack List the services of a stack with the full error message, do not truncate the output
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 …
Splunk troubleshooting
Universal Forwarder SSH into the server running the Universal Forwarder To verify if the forwarding is configured
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 On Windows Select all four checkboxes for maximum integration On macOS Move Visual Studio Code to the Applications folder The official instructions above start Visual Studio Code in the Downloads folder. Move the file into the Applications folder. Configure Visual Studio Code Start Visual Studio Code from the command …
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 …
Docker commands
Display the Software Bill Of Materials ( the content of the image in table format ) Example: docker sbom nginx To delete all containers, execute docker rm -f $(docker ps -a -q) To delete all images, execute docker rmi -f $(docker images -q)
Supported Golang GOOS and GOARCH combinations
To get the list of supported GOOS (operating system) and GOARCH (architecture) combinations execute go tool dist list To specify the GOOS and GOARCH attributes in the Bash command line, build the Golang application with GOOS=linux GOARCH=amd64 go build -v -o MY_APP cmd/MY_APP/*.go