Methods to create a quantity for Docker containers in Portainer

Discover ways to use Portainer to create a quantity for Docker containers with this temporary tutorial from Jack Wallen.

In a current TechRepublic video, Jack Wallen confirmed the right way to create and use a Docker CIFS quantity with the Portainer web-based GUI. The next is an edited transcript of his tutorial.

First off, you’ll must have a CIFS share to connect with on both the machine internet hosting Docker or one other machine in your community.

Log into Portainer, choose the Docker atmosphere and click on Volumes from the left navigation. Click on Add Quantity within the prime proper nook. Give the amount a reputation, and click on the On/Off slider for Use CIFS Quantity till it’s within the on place.

Kind the handle for the machine internet hosting the CIFS share. Kind the share title. Choose CIFS V3. Add a username who has entry to the share, kind that consumer’s password, and click on Create the amount.

To make use of the amount, click on Containers within the left navigation, and within the ensuing window, click on Add Container. Give the container a reputation. Kind the picture for use for the container.

Scroll all the way down to the Superior Container Setting part. Click on volumes. Click on Map Extra Quantity. Kind the trail inside the container, resembling /knowledge/db. Choose the newly created quantity from the amount dropdown, after which, click on Deploy the Container.

For extra tutorials from Jack Wallen, subscribe to TechRepublic’s YouTube channel How To Make Tech Work — and keep in mind to love this video.