Cloud Software

How to create teams in the Portainer container manager

If you would like to flip Portainer right into a collaborative platform for container improvement, make use of teams for entry management to particular software stacks. Jack Wallen exhibits you ways.

container.jpg
Image: iStockphoto/urfinguss

Portainer is one in all the many GUI instruments for managing Docker containers. With this platform, you may develop and deploy full-stack, containerized purposes, handle registries, create networks and volumes, work with templates, and far more.

SEE: Hiring Kit: JavaScript Developer (TechRepublic Premium)

But one function discovered in Portainer helps it stand out amongst a crowded area. That function is Teams. Not solely are you able to add customers to Portainer (for higher collaboration), you may assign customers to Teams after which assign Teams to Stacks. By doing this, you make it doable to silo builders/teams to particular Stack improvement. This is a good function for firms that deploy varied sorts of software stacks as containers and want to have the ability to management entry to these stacks.

But how do you do it? It’s truly fairly simple. Let’s dive in and discover out.

What you’ll want

To make this work, you’ll want a operating occasion of Portainer and a Portainer consumer with admin privileges.

That’s it. Let’s get to work.

How to add a consumer to Portainer

The very first thing we’ll do is add a consumer (who can then be added to a brand new group). Log into Portainer as an admin consumer after which click on Users in the left sidebar (Figure A).

Figure A

The Portainer sidebar navigation holds the keys to users and teams.
The Portainer sidebar navigation holds the keys to customers and teams.

In the ensuing window (Figure B), sort a username and password to create the new consumer.

Figure B

The user management screen in Portainer is fairly simple to use.
The consumer administration display screen in Portainer is pretty easy to use.

If you already had teams created, you can simply add that consumer to one. You also can give this new consumer admin privileges (solely do this if the consumer will want to handle your Portainer platform).

Click Create consumer to save the new consumer to the system.

How to add a group to Portainer

Next, we’ll create a brand new group. For this, click on Teams below Users in the left sidebar. In the new window (Figure C), sort a reputation for the new teams and choose a frontrunner.

Figure C

You do not have to assign a leader to the new team at this phase.
You wouldn’t have to assign a frontrunner to the new group at this part.

How to add customers to a group in Portainer

The subsequent step is to add customers to the new group. After you create the new group, it’ll be listed below Teams. Click the identify of the new group, and also you’ll be transported to a brand new web page the place you may handle the group (Figure D).

Figure D

The Team Management page makes it easy to add users to the new team.
The Team Management web page makes it simple to add customers to the new group.

Click the Add button for any/all customers you need to add to the group. If you haven’t already assigned a frontrunner to the group, when you’ve added customers, you may assign a frontrunner (or a number of leaders) by clicking the Leader button related to a consumer (Figure E).

Figure E

Assigning leaders to a team is just a click away.
Assigning leaders to a group is only a click on away.

How to assign Teams to Stacks in Portainer

With your new group(s) created, now you can assign a group to a stack for improvement. This is completed throughout the stack creation course of. Click Stacks, from the left sidebar, after which click on Add stack (Figure F).

Figure F

The Stacks page will list out all of your current stacks.
The Stacks web page will checklist out your whole present stacks.

On the Stack creation web page, scroll to the backside and also you’ll see the Access management part (Figure G).

Figure G

The Stack access control section in Portainer allows you to restrict a stack to specific users or teams.
The Stack entry management part in Portainer permits you to prohibit a stack to particular customers or teams.

Click Restricted after which choose the group you need to assign to the stack from the Teams drop-down (Figure H).

Figure H

You can assign users and/or teams to a stack in Portainer.
You can assign customers and/or teams to a stack in Portainer.

You can then end up the stack (including content material for the docker-compose file) after which, when you’re completed, click on Deploy the stack.

And that’s all there’s to utilizing the Teams function in Portainer. If you could have any plans on making Portainer a collaborative instrument, that is the method to go.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the newest tech recommendation for enterprise execs from Jack Wallen.

admin

Leave a Reply

Your email address will not be published.Required fields are marked *

*