Installing Docker and Portainer on TrueNAS 12.0 with a VM

Sauber-Lab UK
Sauber-Lab UK
6.6 هزار بار بازدید - 3 سال پیش - In this video, install Docker
In this video, install Docker and Portainer on your TrueNAS. To do this for us, we will use a virtual machine, as TrueNAS running FreeBSD does not have the ability to run Docker. This way we will be able to use Ubuntu to help us in this task.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
For you to locate the Ubuntu image, check out the link:
https://ubuntu.com/

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
For more information on how to install Docker, check out the link:
https://docs.docker.com/engine/instal...

But let's make things easier, you have to use the codes below:

$ su - # login as administrator

$ sudo apt-get update # Update update list

$ sudo apt-get update # Install updates

$ sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common # Install the applications needed to install Docker

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

$ curl -fsSL https://get.docker.com -o get-docker.sh # Download Docker Install Script

$ sudo sh get-docker.sh # Instalar script de instalação do Docker

$sudo docker run hello-world # Run the "hello-world" Docker container to check if the Docker was installed successfully

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

We will use the portainer/portainer image. To install Portainer, check the link:

https://github.com/portainer/portainer

For the installation of the Portainer, the following codes were used:

$ docker volume create portainer_data # Create volume "portainer_data"

$ docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer -H unix:///var/run/docker.sock # Install Portainer

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Leave your comment and share with your network. It's always good to know what needs to be improved.

Don't forget to subscribe to the channel to receive tips and help.

To receive all notifications, tap the bell icon. It will change to a ringing bell to indicate that you have chosen to receive all notifications.
3 سال پیش در تاریخ 1400/06/19 منتشر شده است.
6,647 بـار بازدید شده
... بیشتر