Document Type | Technical Information
Category | Interface/Integration
Applicable Product Version | Tibero 7
Document Number | TIITI056
Overview
Portainer
"Portainer Installation-1 (Tibero Container Automation)"
Install the Portainer platform for convenient use of Docker Containers.
By utilizing the Portainer platform in a total of three topics, you can automate the Tibero environment and increase work efficiency.
Note
Environment Information
- Windows 11, Docker Desktop
- Container Only Linux
Method
Portainer Installation
Docker
Docker environment setup can be configured on both Linux and Windows environments.
On Linux, both CLI and GUI environments are supported, and on Windows, you can enable WSL and then install Docker for use.
Detailed information about Docker installation is not covered in this document; please refer to the official Docker manual below.
(Official Manual: Docker Installation)
Linux
- Install docker engine (if only CLI is installed)
- Install docker desktop (if GUI is available)
Windows
- Install docker desktop
Check Docker
PS C:\> docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
PS C:\> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
PS C:\> docker volume ls
DRIVER VOLUME NAME
Deploying Portainer
If Docker installation is completed successfully, download the Portainer image and deploy a Portainer Container based on that image.
- Official Manual: Portainer CE Install
Note
Portainer Image URL: Portainer CE Docker Hub
Portainer Edition Comparison URL: Portainer CE vs BE(EE)
Portainer Github URL: Portainer Github
Portainer Image
PS C:\> docker pull portainer/portainer-ce:latest
latest: Pulling from portainer/portainer-ce
4f4fb700ef54: Pull complete
7e764748a0e3: Pull complete
a48e87497a08: Pull complete
6109bb7d1248: Pull complete
da18f9659f11: Pull complete
04f56cab0724: Pull complete
e80185cdbc79: Pull complete
666c509ccde9: Pull complete
Digest: sha256:83fab9ec8e05a9ca17c64d2288fef25f498124eccdbcd12eaff9238870884630
Status: Downloaded newer image for portainer/portainer-ce:latest
docker.io/portainer/portainer-ce:latest
PS C:\> docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
portainer/portainer-ce latest 83fab9ec8e05 4 days ago 246MB
Use the Portainer Community Edition Image registered on Docker Hub.
Portainer Volume
PS C:\> docker volume create portainer_data
portainer_data
PS C:\> docker volume ls
DRIVER VOLUME NAME
local portainer_data- Create a dedicated volume for Portainer.
Portainer Container
PS C:\> docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
3e79764ef58a23f85a62897322d6e014f8b439d1208cb920bdebae19700198ea
Deploy Portainer Container
-d: Run in background option
-p: External port:Internal port mapping option
--restart=always: Option to set the container to start automatically when Docker restarts
-
-v: External file or directory mapping option
/var/run/docker.sockis mapped to access the local Docker Engine.
Map the created
portainer_datavolume.
Check
PS C:\> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3e79764ef58a portainer/portainer-ce:latest "/portainer" 5 seconds ago Up 5 seconds 0.0.0.0:8000->8000/tcp, [::]:8000->8000/tcp, 0.0.0.0:9443->9443/tcp, [::]:9443->9443/tcp portainer
Check the deployed container.
Accessing Portainer
Portainer WEB Access
https://localhost:9443
Access via https.
Set Initial Admin Account Password
docker restart portainer
Set Administrator Account Password
- If a page error occurs, resolve it by restarting the Portainer Container.
Docker Connection
"Get Started" will automatically recognize the Docker installed on localhost.
Exploring Portainer
Home
- Check if Docker on localhost is connected.
Dashboard
- You can conveniently view the Docker environment on the Dashboard.
Creating a Portainer Container
Container list
- You can check the currently created containers in the container list.
Create Container
You can create containers through the command line, but you can also create containers in Portainer in the same way.
Register the image to be deployed as a container, then proceed with the deployment.
Enter an image registered on Docker Hub or an image stored on localhost.
- Deploy with the Interactive & TTY option among the container creation options.
Check Container Creation
- Check the created container.
Access Container
- In the container list, click "" on the desired container to access the container console.
Conclusion
Portainer provides a web UI to utilize the Docker environment, which may feel somewhat inconvenient based on the command line, more intuitively.
By using Portainer's Stack (Docker Compose Type) feature, you can automate the deployment of Tibero Containers.
Example: You can automate various Tibero configurations through Portainer Stack.