-
Notifications
You must be signed in to change notification settings - Fork 1
04 Create a Rancher Environment
This page details how to create an environment inside a running instance of Rancher server.
An environment uses one or more registered hosts (Docker hosts, aka Rancher agents) to run Docker containers.
An environment groups stacks, which are composed of services, which are made out of one or more containers.
More information can be found here.
-
Go to Rancher UI
-
Go to top left menu entry → Manage Environments
-
Fill in the fields
- Name: tgd
- Description: Used by Java Tech Group Day #5 Rancher workshop
- Environment Template: Cattle
- Access Control: use your user account as owner for this new environment
-
Click "Create" button to have Rancher create this environment
-
Make the newly created environment the default one by going to environment menu → Set as Default
-
Switch to the newly created environment by going to environment menu → Switch to this Environment
-
The newly environment is empty: it hosts no stacks, it has no registered hosts
-
Optionally, you can delete "Default" Rancher environment, if you no longer use it