ADVERTISEMENT
Friday, February 3, 2023
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions
Various 4News
  • Home
  • Technology
    • Gadgets
    • Computing
    • Rebotics
    • Software
  • Artificial Intelligence
  • Various articles
  • Sports
No Result
View All Result
Various 4News
  • Home
  • Technology
    • Gadgets
    • Computing
    • Rebotics
    • Software
  • Artificial Intelligence
  • Various articles
  • Sports
No Result
View All Result
Various 4News
No Result
View All Result
Home Computing

The best way to Add a New Improvement Surroundings to Portainer

Rabiesaadawi by Rabiesaadawi
January 23, 2023
in Computing
0
The best way to Add a New Improvement Surroundings to Portainer
585
SHARES
3.2k
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT


When you’ve deployed Portainer as a Kubernetes improvement platform and need to add a special surroundings, you are in luck — the method is kind of easy.

Smiling indian business man working on laptop at home office. Young indian student or remote teacher using computer remote studying, virtual training, watching online education webinar at home office.
portainer-add-development-environment

Just lately, I outlined methods to deploy Portainer to a MicroK8s Kubernetes cluster. The method is surprisingly simple and goes a protracted technique to strip the issues from Kubernetes. That Kubernetes surroundings makes for a strong improvement course of, however what when you additionally have to work with Docker? Fortunately, Portainer has many handy Docker options that make deploying these containers a breeze.

SEE: Hiring equipment: Again-end Developer (TechRepublic Premium)

You might also like

Samsung Whips Out The Galaxy E book 3 Extremely And A 200MP Galaxy S23 Extremely

The MSI MPG A1000G PCIE5 PSU Assessment: Steadiness of Energy

Introducing Sovereign Compliance Pack for Aria Operations

With Portainer, you possibly can add as many environments as it’s essential to develop for Kubernetes or Docker throughout the similar web-based GUI. On this tutorial, I’ll present you methods to add a Docker surroundings to the identical Portainer occasion that was deployed utilizing MicroK8s.

Leap to:

What you’ll want so as to add a Docker surroundings to Portainer

The one stuff you’ll want for this course of are a operating occasion of Portainer and a consumer with sudo privileges. I’ll display this on the Ubuntu Server 22.04 working system. In case your OS differs, you’ll want to change the steps for putting in Docker and Docker Compose.

The best way to set up Docker and Docker Compose

Greatest enterprise software program

To start, we should add the official Docker repository. We’ll first add the GPG key with this command:

curl -fsSL https://obtain.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

Subsequent, add the Docker repository:

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://obtain.docker.com/linux/ubuntu $(lsb_release -cs) steady" | sudo tee /and so forth/apt/sources.listing.d/docker.listing > /dev/null

From right here, you’ll want to put in the mandatory dependencies with this command:

sudo apt-get set up apt-transport-https ca-certificates curl gnupg lsb-release git -y

Set up newest Docker Engine

Now, we are able to set up the newest model of Docker Engine:

sudo apt-get replace
sudo apt-get set up docker-ce docker-ce-cli containerd.io -y

Subsequent, you’ll add your consumer to the docker group with this command:

sudo usermod -aG docker $USER

To complete out this part, sign off and log again in for the adjustments to take impact.

Set up Docker Compose

Lastly, we’ll set up Docker Compose with this command:

sudo apt-get set up docker-compose -y

With Docker put in, you’re prepared so as to add the brand new surroundings.

The best way to add the Docker surroundings to Portainer

Now, you’re prepared so as to add the Docker surroundings to Portainer. To start, log in to your Portainer occasion and click on Environments underneath Settings (Determine A).

Determine A

The Portainer left navigation incorporates entry to Environments.

Within the ensuing window (Determine B), choose Docker Standalone and click on Begin Wizard.

Determine B

There are a number of forms of environments you possibly can add to Portainer.

Within the ensuing window (Determine C), choose Agent to disclose the Docker command you will need to run on the internet hosting server so as to add the Portainer agent.

Determine C

We’re including the Docker surroundings by the use of an agent.

The command to do that is:

docker run -d -p 9001:9001 --name portainer_agent --restart=at all times -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/volumes:/var/lib/docker/volumes portainer/agent:2.16.2

When you’ve run that command, give the surroundings a Title and an Surroundings Deal with, after which click on Join. The Surroundings Deal with can be within the type of SERVER:9001, the place SERVER is the IP handle of the internet hosting server.

The connection must be made in a short time. When you then click on House within the upper-left nook, you’ll see your new Docker surroundings is able to use (Determine D).

Determine D

Our Docker surroundings has been added and is prepared to be used.

Simplify your container improvement course of

When you’re a platform engineer, developer or different consumer who’s seeking to simplify your container improvement course of, I like to recommend utilizing Portainer for Kubernetes and Docker. This internet GUI has every thing it’s essential to not solely good your container deployments however handle them as properly.

Learn subsequent: The 12 finest IDEs for programming (TechRepublic)



Source_link

Previous Post

Greatest Items Below $250 for 2023

Next Post

Synthetic Intelligence and the way it could change the world

Rabiesaadawi

Rabiesaadawi

Related Posts

Samsung Whips Out The Galaxy E book 3 Extremely And A 200MP Galaxy S23 Extremely
Computing

Samsung Whips Out The Galaxy E book 3 Extremely And A 200MP Galaxy S23 Extremely

by Rabiesaadawi
February 3, 2023
The MSI MPG A1000G PCIE5 PSU Assessment: Steadiness of Energy
Computing

The MSI MPG A1000G PCIE5 PSU Assessment: Steadiness of Energy

by Rabiesaadawi
February 3, 2023
Introducing Sovereign Compliance Pack for Aria Operations
Computing

Introducing Sovereign Compliance Pack for Aria Operations

by Rabiesaadawi
February 2, 2023
You Can Now Use Siri to Reboot Your iPhone or iPad
Computing

You Can Now Use Siri to Reboot Your iPhone or iPad

by Rabiesaadawi
February 2, 2023
What’s Grid Computing? Functions and Examples
Computing

What’s Grid Computing? Functions and Examples

by Rabiesaadawi
February 1, 2023
Next Post
Synthetic Intelligence and the way it could change the world

Synthetic Intelligence and the way it could change the world

Leave a Reply Cancel reply

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

Recommended

Amazon warehouse robotic makes use of AI to deal with hundreds of thousands of things

Amazon warehouse robotic makes use of AI to deal with hundreds of thousands of things

November 26, 2022
ARM Institute releases expertise challenge name

ARM Institute releases expertise challenge name

July 19, 2022

Categories

  • Artificial Intelligence
  • Computing
  • Gadgets
  • Rebotics
  • Software
  • Sports
  • Technology
  • Various articles

Don't miss it

MIT Remedy pronounces 2023 world challenges and Indigenous Communities Fellowship | MIT Information
Artificial Intelligence

MIT Remedy pronounces 2023 world challenges and Indigenous Communities Fellowship | MIT Information

February 3, 2023
Samsung Whips Out The Galaxy E book 3 Extremely And A 200MP Galaxy S23 Extremely
Computing

Samsung Whips Out The Galaxy E book 3 Extremely And A 200MP Galaxy S23 Extremely

February 3, 2023
60 insanely neat images of cables that belong in a contemporary artwork gallery
Gadgets

60 insanely neat images of cables that belong in a contemporary artwork gallery

February 3, 2023
Java Project Operators | Developer.com
Software

Tips on how to Create an HTTP Shopper in Java

February 3, 2023
ChatGPT might assist with work duties, however supervision remains to be wanted
Technology

ChatGPT might assist with work duties, however supervision remains to be wanted

February 3, 2023
The MSI MPG A1000G PCIE5 PSU Assessment: Steadiness of Energy
Computing

The MSI MPG A1000G PCIE5 PSU Assessment: Steadiness of Energy

February 3, 2023

Various 4News

Welcome to various4news The goal of various4news is to give you the absolute best news sources for any topic! Our topics are carefully curated and constantly updated as we know the web moves fast so we try to as well.

Categories

  • Artificial Intelligence
  • Computing
  • Gadgets
  • Rebotics
  • Software
  • Sports
  • Technology
  • Various articles

Site Links

  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions

Recent News

MIT Remedy pronounces 2023 world challenges and Indigenous Communities Fellowship | MIT Information

MIT Remedy pronounces 2023 world challenges and Indigenous Communities Fellowship | MIT Information

February 3, 2023
Samsung Whips Out The Galaxy E book 3 Extremely And A 200MP Galaxy S23 Extremely

Samsung Whips Out The Galaxy E book 3 Extremely And A 200MP Galaxy S23 Extremely

February 3, 2023

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • About Us
  • Contact Us
  • Disclaimer
  • Home 1
  • Privacy Policy
  • Sports
  • Terms & Conditions

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.