Skip to playerSkip to main content
  • 2 days ago

Category

🤖
Tech
Transcript
00:00hello everyone during the installation of winbot i installed docker and i thought
00:07here of extracting the footage of the installation and sharing it with you with adding some some
00:15stuff to it actually the installation isn't only for docker but also for docker compose for docker
00:22compose i made another video about winbot and i had to configure some stuff that is related to docker
00:34compose i will extract the footage from that video as well i only need here to tell you about that
00:42and to show you that docker works maybe by making some containers
00:57yes so the
01:03containers that are made using docker compose appear when you run docker ps let's try to
01:12run docker alpine this is where the results are shown before the process
01:30alpine is one of the smallest linux distribution and the container is therefore
01:41very small
01:47now let's try to run the container that is based on alpine linux let's call it also alpine like this
02:03all right
02:09yes we have here alpine linux this proves that docker works we can exit out of it
02:17we can try to see the containers that are running
02:27okay yeah so the alpine container has been somehow stopped for docker compose i don't have a yaml file
02:40i have shown in my winbot shared directories video how to customize the yaml file and how to start and
02:51stop the
02:52containers that are related to the containers that are related to it i will simply put the footage
02:56you can find it at the end of the video you need before you launch the application or even after
03:05to get it to work to install
03:08docker docker compose
03:10docker compose or podman if you want i will install docker and docker compose in my case password y and
03:20enter here
03:29and then you run sudo system ctl start docker we check if it is started
03:46let's see it is started clear out the screen if you are missing anything you can go to
03:57or doubt in anything about the installation of docker there is a page in the arch wiki where you check
04:05whether your installation is correct or not in case there are any mistakes or errors
04:12i believe that i need to add my user to the group of docker and that should be
04:23by running the command
04:25user mod dash lowercase a uppercase g docker and
04:32the user name in my case is user in your case you
04:37type yours and enter here
04:40we may need to restart the daemon of docker just in case
04:46like this
04:48okay i had to wait some time i did nothing off cam to restart the daemon and get it working
04:56successfully
04:57we can see that it is working successfully
05:03let's run docker info like this
05:10let's see with sudo
05:15get more details
05:18we can
05:20enable the service to allow it to run at every startup
05:26every boot
05:29while i was editing this video i figured out that it's better for me to
05:35make a new footage where i show that my docker compose
05:40on arch linux is running and working without any issue
05:47you need to have a dot yml file or a yml file that has the parameters
05:54that will be
05:57executed
05:59during the
06:01containers generation
06:03since docker compose is responsible on that
06:06you need to be in the directory where your dot yml file exists
06:11in my case it's dot win bot
06:13i'm gonna simply use their
06:17generated dot yml file
06:20there you run docker compose
06:23up to start the containers
06:25you can specify dash d
06:28to detach it and keep using your terminal
06:36and you run docker compose down
06:39to stop the containers
06:41let's try with up dash d
06:50okay if it is without dash d at the end
06:54and you have started your containers you can run the command again
07:00and it will attach it for you and it doesn't need to it will not restart the containers
07:07look at how it gave the possibility to press d to detach it
07:14i press it enter since it will take some time to appear for you somehow or something
07:20i press it d now to stop the containers you can run docker dash compose down
07:30and it will stop all the containers that are generated using the yml file or yml file
07:39this is easier than extracting from the other video since the other video focuses
07:45on other topics that are out of the scope of this video
07:49i will put those videos in the description the ones that are about win both in case you're interested in
07:59them
08:01so that was how to set up docker and docker compose on arch linux
08:07that makes it for this video please don't forget to subscribe like share and comment
08:12and see you
Comments

Recommended