Installing Portainer

Portainer's initial page with the existing containers
Portainer’s initial page with the existing containers
Portainer is an Open Source application for managing Docker on local machines or servers. Through its graphical interface it is possible to view and edit your Containers, Images, Volumes and so on. And its installation is very easy as it is distributed as a Docker image. Just perform the following steps: Create a volume to persist your settings: docker volume create portainer_data Run the docker command to create the container and inform some initial configuration parameters: docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.
Read more →

Yet Another MongoDB Golang Tutorial

After years relying on Community drivers like mgo and globalsign/mgo, last year MongoDB announced they were building it’s own solution. Last March they released the version 1.0.0, so let’s see how to make some normal operations using the Oficial driver. First of all, you need to download the driver using go get. go.mongodb.org/mongo-driver/mongo Assuming your MongoDB installation is using the default setting, your method should be like this: package main import ( "context" "log" "go.
Read more →