Great video! Thank! Just a note, the -v in the docker command is for volumes, it maps the first path (docker container) to the second path (after the colon), which is a folder on the host operating system. That is how docker containers can persist data if they are killed or restarted.
@thebusinesscentre Жыл бұрын
Docking 😂
@techmattr84833 жыл бұрын
-v is volume not variable. The docker.sock is mapping the local docker volume so portainer can manage the local docker resources.
@Jeffrey_Mason Жыл бұрын
Best video yet. I have redone my PI about 4 times following other videos. Worked the first time with yours.
@Joooooooooooosh3 жыл бұрын
-v does not stand for variable. It stands for volume.
@therealjackfisher11 ай бұрын
who cares, it could stand for vandalism and i could care less. Geek language makes no sense anyways, so variable or volume, same thing.
@Joooooooooooosh11 ай бұрын
@@therealjackfisher then you may wanna choose another line of work I dunno what to tell you.
@therealjackfisher11 ай бұрын
@@Joooooooooooosh back in the days if you saw me on DOS your jab would drop, and you would be the one to choose another line of work. It dont matter if you know what it stand for as long you know how to use it. If I had to explain everyone what everything means when writing extremely complicated batch files nobody would remember anything. Trust me there was sick amount of programming involved in making batch files with menus, sub menus, and without flooding screen with crap you dont want to display. These days are over and I didnt have any reasons to use Linux before now because Linux sucked, and it still kinda does, but there are more uses for this in private homes today then lest say 10 years ago.
@Joooooooooooosh11 ай бұрын
@@therealjackfisher variables and volumes are two distinctly different concepts in docker. They are not interchangeable.
@bassam.20233 жыл бұрын
Of course, my favourite Raspberry Pi channel pops up when I want to install docker on my RPI :)
@SpaceRexWill3 жыл бұрын
Thanks!
@dharmacode273 ай бұрын
out of all the videos i watched yours was the most thorough and easiest to follow thank you
@Yamheadyan3 жыл бұрын
You mentioned at around 2:50 to do a quick glance for any malicious code. Unfortunately as a newbie to coding, I do not know what to look for. Any pointers?
@barbyboi3 жыл бұрын
Generaly is to say, if a code is open source, a company doesnt have spyware in it. Otherwise, i think you just need to learn a bit of coding, or just look a bit of codd in the internet if it seems suspicious.
@zaur663 жыл бұрын
-e is for : Set environment variables , -v is for setting up volumes, you are exposing local 'storage' so to say into the docker container.
@SpaceRexWill3 жыл бұрын
Whoops! Got my flags mixed up
@danielnagy68092 жыл бұрын
At 7:50 i get a message, “unable to find image portainer/portainer-ce:linux-arm locally. Any solution for this?
Thanks for the video, just an update to help others, docker will not pull portainer with the command give if you are running 64bit, however if you run sudo docker pull portainer/portainer-ce that should work. Happy learning.
@ralf24033 жыл бұрын
Super! please make more Raspberry Docker videos because most of the tutorials on YT are useless.. Thanks to your videos I set up my Raspberry and VPN :)
@SpaceRexWill3 жыл бұрын
Thanks, will do!
@stuu327011 ай бұрын
A voice I could listen to all day! Good tutorial too!
@matthewreid95023 жыл бұрын
Excellent, excellent video. Everything was so clearly explained and shown. Told me why I was doing things and what they were. Thanks so much!
@SpaceRexWill3 жыл бұрын
Glad you liked it!
@iPigee11 ай бұрын
I find the best tutorials right here on your page. Thank you, and Happy New Year, brother.
@imvipeness2 жыл бұрын
I get this error when following your exact instructions: linux-arm: Pulling from portainer/portainer-ce no matching manifest for linux/arm64/v8 in the manifest list entries
@golvellius68552 жыл бұрын
same trying to find out the solution right now
@WTPodcast2 жыл бұрын
@@golvellius6855 another user replied in these comments and it worked for me: sudo docker pull portainer/portainer-ce:latest and remember to change it here as well: code to install Portainer : sudo 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-ce:latest
@golvellius68552 жыл бұрын
@@WTPodcast yes thank you! It works
@PortainerIO3 жыл бұрын
Thanks for the great tutorial! I've added it to our KZbin playlist 'Videos from the Portainer Community'. :)
@magicmanchloe Жыл бұрын
the portainer-ce:linux-arm returned an error no matching manifest. but i was able to get it working useing portainer-ce:latest you can just run that if anyone else has this issue.
@izmarsel Жыл бұрын
¡Gracias!
@SpaceRexWill Жыл бұрын
Thanks!
@tommytigerpants3 жыл бұрын
When running the 'sudo docker' command, it returns that 'no matching manifest for linux/arm64/v8 in the manifest list entries' - any advice on this please?
@plu22 жыл бұрын
sudo docker pull portainer/portainer-ce:latest and remember to change it here as well: code to install Portainer : sudo 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-ce:latest
@golvellius68552 жыл бұрын
dude great stuff thank you!
@SpaceRexWill2 жыл бұрын
Glad to help!
@TheDro2 жыл бұрын
thanks this helped!
@johngoverts41663 жыл бұрын
Great video, thanks! I had been planning to try this stuff, but since I am a relative newbie on Docker and Portainer I was somewhat apprehensive to go ahead and try. You managed to get me going within a quarter of an hour. Kudos!!
@SpaceRexWill3 жыл бұрын
haha Im glad! Portainer really just makes everything so much easier
@matejsokolec29732 жыл бұрын
For you guys running 64 bit versions of raspbian the pull may fail. What will work is this: docker pull portainer/portainer-ce:linux-arm64
@KenPryor2 жыл бұрын
Thank you for this!
@DanJackielz Жыл бұрын
This is the cleanest tutorial. Love the way you explained everything!
@seniorchief6136 Жыл бұрын
Thanks for the video. I will try this. I'm planning to build my own home lab and dive deeper into networking, virtualization, containers etc. But this seems like a nice way of trying it out before I go full into it, plus I already have a pi that's never been used.
@vincentnestler180510 ай бұрын
Thanks!
@tommilton60242 жыл бұрын
Thanks for the video, did you do any follow ups? I'm interested in whether you could pop pihole, home assistant and things like that within this setup? Thanks 👍
@joshuasimmons5712 жыл бұрын
for anyone who gets the deamon error when trying to pull portainer just reboot your rpi4
@JD-sb7mq2 жыл бұрын
Thanks for sharing! I’m getting this error after trying to install docker “E: Sub-process /usr/bin/dpkg returned an error code (1)” which led to the daemon error “is this daemon running?”
@hollowt3a1992 жыл бұрын
What a lifesaver
@kolemieux Жыл бұрын
Exceptional video and explanation - thanks for sharing!
@glenncol2 жыл бұрын
Will this work with Debian with Raspberry Pi Desktop on a NUC
@SpaceRexWill2 жыл бұрын
Yes
@richiegandragon25915 ай бұрын
Nice video, I just used it to repurpose my Pi-3B. Next is Nextcloud so I can dump google. i too had to change the portainer-ce:linux arm to latest. but working now.
@kevinhsin630 Жыл бұрын
I had troubles using the sudo docker r and sudo docker rm portainer command. I went about having to do docker stop portainer, then sudo docker rm portainer to remove the container.
@kellynorton Жыл бұрын
I'm going to go ahead and say that this video was very useful.
@C3PO_2 жыл бұрын
Thanks very much for your concise and very useful tutorial! As a newbie to Linux and Docker, may I ask whether I need to manually update the pulled Docker images from time to time? If yes, how? Do I need to stop the corresponding containers before updating? Many thanks in advance!🙏
@PilotOdyssey3 жыл бұрын
Ok I have it running do you have a tutorial for finding, installing then running Containers in Portainer you kind of glossed over the details. Thanks
@HoundDogRock10 ай бұрын
Can I use this tutorial for my raspberry pi 2 B v1.1 running dietpi?
@MrStefanokj Жыл бұрын
Is there an alternative to portainer for arm v6 processors? Because I have a rasberry pi zero w and portainer is not supported :(
@joegpapst2129 Жыл бұрын
this procedure works on Orange pi zero 2?
@theuptaker2 жыл бұрын
One more question. I’ve got this running on my RPI using your video so thank you. Now I’m wondering if these same scripts will work on my Mac using terminal? Want to run an AMD container and seeing that OS X is Linux it might work?
@SpaceRexWill2 жыл бұрын
You should be able to get portioner on your Mac. It will need a different build of portioner but (not ARM)
@TarakoBR Жыл бұрын
3:52 Now you just seat back and relax ... (Tense face) Just kidding, awesome content, buddy, I am benefiting of a lot :D
@ArunKumar001 Жыл бұрын
.sock is a linux socket file in which docker api is exposed. Since portainer requires access to docker you are volume mounting the sock file to the container. Thanks for the tutorial.
@jmccamb3 жыл бұрын
Thank you for this. Do you know if a Pi 2 or 3b+ will be able to handle this?
@vladi29937 ай бұрын
Thank you for this helpful video! How can I update Portainer?
@gogorunrun2 жыл бұрын
I’m a totally noob and I made it work. Cool video, thanks. Only thing was “linux-arm” did not work for me, so after a bit a searching I used “latest” instead
@ChaseWilliams152 жыл бұрын
Thank you I was confused on this too
@WesselLemmer3 жыл бұрын
Really appreciate you explaining commands
@alsgaming14262 жыл бұрын
this is not working for me i get no error when running the command but when i go to raspberrypi.local:9000 the site cannot be reached ive tried going to the static ip of my raspberry pi IPADDRESS:9000 and nothing i fallowed your commands to the letter i dont know why its not working
@SpaceRexWill2 жыл бұрын
Check and make sure the docker container is running
@joshuahaney11352 жыл бұрын
Same here
@chrisblumarten2 жыл бұрын
your videos are so incredibly helpful. thanks for making them.
@SpaceRexWill2 жыл бұрын
Glad you like them!
@karlmee12342 жыл бұрын
i can't get docker to pull portainer, i get an error saying error response from daemon request cancelled while waiting for connection
@SpaceRexWill2 жыл бұрын
Make sure you have internet and DNS
@karlmee12342 жыл бұрын
@@SpaceRexWill I found it out it was due to the OS I was using which was twister os. As soon as I flashed a new card with Pi OS, it worked fine which is odd, using the same internet connection and everything
@michelghantous946610 ай бұрын
I am new raspberry pi user. with the new version of software it asked for user name. Once I added it I had a difficulties with the tutorial as it asked for pi user and not the one I had. Once I figured that out. It went well. Thanks
@mickvanbreukelen74455 ай бұрын
Thanks for this!
@couple.gamernauts3 жыл бұрын
Nice tutorial! I would like to see more content for raspberry pi and networks. Keep up the good work.
@BrianThomas3 жыл бұрын
Great video. Question: How would this work if I have 8 Pi's in a cluster and I want to spin up applications in containers as needed? Will portioner support that?
@ArunKumar001 Жыл бұрын
You should try docker swarm or kubernetes. Portainer is only a gui for docker and docker runs on one host only.
@Farlot9113 жыл бұрын
Please add a annotation or something about having to reboot your Pi if you update/upgrade from the base image straight away, the install will fail without a reboot first :)
@clauswobbe18 ай бұрын
Hi - great video! I'm new to Docker and Raspberry Pi 5 and I would love to see a video on how to deploy DokuWiki on my Pi5 using Docker.
@joshuathomas5123 жыл бұрын
Some questions, I'm trying to run multiple os's, like ubuntu and retropie through berryboot, and apps, like openmediavault, OpenVPN, pihole, and plex on my pi 4 4gb at once. I tried running all on a single sd card and found some compatibility issues, so I decided to use two cards instead, one for os's and another for programs. Do I go about the latter by first installing docker on rpi os, and then installing said apps into containers? Because I'm also seeing methods of installing docker onto openmediavault for some reason..
@SpaceRexWill3 жыл бұрын
You are going to want to pick one OS per pi. You can install docker stuff on OMV
@theuptaker2 жыл бұрын
will this work for the 64bit portainer pull? docker pull portainer/portainer-ce:linux-arm64
@SpaceRexWill2 жыл бұрын
Should
@rixcian41882 жыл бұрын
Yeah, it's working for me.. Thanks man for this comment, saved me from hours of googling
i've been seeking for remote workstation . thanks alot !
@robertbeatty45423 жыл бұрын
Great video! Do you have any idea why I can't load portainer from another PC? I can only load it from the Pi
@SpaceRexWill3 жыл бұрын
If I had to guess your portainer might be set to local host only
@zk_63122 жыл бұрын
Interesting video, I have never heard of portainer or even docker until recently. How does docker and portainer handle system commands that need the sudo command? For instance, I am running a 3D printer application called Octoprint, but it needs to use the system commands for shutting down, rebooting, and restarting the octoprint service. So far I have not figured out how to do this so the commands don't do anything. Looking at the docker logs it says docker does not recognize or can't find the sudo command.
@mykec187 Жыл бұрын
Does anyone know what to do for error 443: connect: network is unreachable?
@mykec187 Жыл бұрын
Never mind had to plug directly into my Verizon internet gateway modern/router So issue is with my Dlink Router
@viperacr993 жыл бұрын
A tutorial for how to upgrade (or downgrade) containers to newer versions while keeping the existing one available in case the new one doesn't work would be great! If you could do it via synology docker UI that would be cool too.
@SpaceRexWill3 жыл бұрын
Thats a good idea! I need to look into that! I think it should be fairly trivial to clone containers
@reverend4813 жыл бұрын
Do I have to install ubuntu in my pi? Or can I do this on my pi os?
@SpaceRexWill3 жыл бұрын
You can use this with raspberryPi OS
@zsquresh3 жыл бұрын
Great! Quick and precise!
@krstech1269 Жыл бұрын
Thank you, good energy... How about a webserver: Apache Tomcat?
@samone56183 жыл бұрын
I like the quick method on updating the Docker but I got this error at the end "Failure unable to initiate communications with endpoint" how to resolve this or else I have to delete the whole thing and search another set up. Thanks buddy
@StellarDudes3 жыл бұрын
hi there! kept getting " Error response from daemon: failed to create endpoint portainer on network bridge: failed to add the host (veth 0695a4) sandbox (veth 2cd0e4) pair interfaces: operation not supported." but many people said to reboot and good to go but that hasnt worked for me , any suggestions ?
@tamasbarabas5742 жыл бұрын
Thank you very much! I'm pretty green to this things. This tutorial was easy to follow and I got some good results even on a very old RPI. 😎🙏
@Lithium09 Жыл бұрын
pull access denied for pihole, repository does not exist or may require 'docker login': denied: requested access to the resource is denied Showing this while trying to pull any image. Not being able to run anything.
@awardblvr2 жыл бұрын
Questions: 1. How do I make sure any container I deploy on Portainer/docker with web access is visible externally (Ie. on my home LAN only, of course, not port-forwarded outside .. just inside my LAN) 2. How do I set permissions and ownership on various Portainer volumes/directories, etc to allow me to touch those folders from a general Ras Pi login? 3. What is a "Bind" dir and what are the various modes of "connected networks"? Thanks!!!
@joshuahaney11352 жыл бұрын
When I do the :9000 and hit enter. It says website cannot be reached.
@therealjackfisher11 ай бұрын
I hit trouble when launching docker. and wrote it in comment. Looks like he deleted my comment even tho it didnt contain any rant or any thing insulting. He launches portainer and he is already running, while I get some configuration wizard to mess with because the config he did is incomplete, and now im stuck with shitty setup that dont work.
@GilBlumberg2 жыл бұрын
Brilliant, thanks for sharing
@knoopx2 жыл бұрын
v is for volume not variable, docker.sock is passed to portainer so portainer can manage host's docker via unix sockets.
@JD-sb7mq2 жыл бұрын
so im trying to pull the HOOBS image from dockerio and I keep getting a timeout error I don’t know how to fix. The first time I got this error when I was pulling the portainer image but rebooting my pi fixed it. Could someone explain what I need to do to fix that?
@sbschuppel85523 жыл бұрын
Watching and looking at the script file. What is :AzureChinaCloud"?
@nepsky3 жыл бұрын
Looking forward to seeing more similar contents in the futures. Thank you. Regards, Your old Subscriber.
@fate20223 жыл бұрын
so how do you ad something like android using docker, or can you even do that?
@Ryan-ul8yf Жыл бұрын
what is the command to remove the container? I made the same mistake you did in the video and now im stuck..
@philiptalbert4582 жыл бұрын
Would you consider a video on setting up unbound on a raspberry pi?
@igncodmyt64122 жыл бұрын
Portainer timeout when I enter the ip address and port..
@sbschuppel85523 жыл бұрын
Can you install Docker & Portainer on RAspberry pi ' Buster "lite"?
@MuhammadHussain-qs5gp2 жыл бұрын
Great Video. Any video which can guide how to install rasbarryPi on Synology Docker Container ?
@SimonYTC2 жыл бұрын
Great! Worked perfectly!
@mikk07063 жыл бұрын
Thank you so much.
@SpaceRexWill3 жыл бұрын
Glad I could help!
@WeekendDIYProjecs3 жыл бұрын
Thanks for sharing !
@chicoleno0072 жыл бұрын
Great video. New sub to the channel. How about on how to put mqtt and homebridge
@pwnograffik2 жыл бұрын
thanks, great info!
@msdosfx3 жыл бұрын
I have set up Wiregaurd VPN server from your guide and tried unsuccessfully to get nextcloud up and running. I would love to see a tutorial on using Portainer and Docker to set up Nextcloud on Apache or NginX working with Wiregaurd. Would also love to see a tutorial on using Portainer to set up Pleroma instance
@omarcruz63262 жыл бұрын
Great Video, Sir.
@renobodyrenobody2 жыл бұрын
Ha thanks for your video, gonna try with the Pi400. Just an idea: I cannot see (I am so ooold) anything on the portainer in web browser part, I suggest you zoom in a bit. Anyway, thanks again!
@mjeshurun3 жыл бұрын
Thank you, SpaceRex , for a great tutorial. Can I use the curl command you included to install Docker on Raspberry Pi OS 64bit? or should I use a different curl command for the 64bit OS?
@sammyjenkin3 жыл бұрын
curl command will work for 64bit OS.. but you will need to change the image to docker pull portainer/portainer-ce:alpine
@TEKENGLOBAL2 жыл бұрын
@@sammyjenkin I wanted to take a few moments to personally thank you for this key information. As how to get 64 bit Portainer installed on the latest 64 bit OS. I must have read and wasted two days just to find this valuable information! The fact the official websites don't offer this key information is a: FAIL! Thank You!
@sammyjenkin2 жыл бұрын
@@TEKENGLOBAL No problem, glad to have helped.
@matthewreid95023 жыл бұрын
As an aside, and a bit of a noob question, how did you get your Pi accessed on your browser?
@SpaceRexWill3 жыл бұрын
This is through portainer! It creates a web UO
@matthewreid95023 жыл бұрын
@@SpaceRexWill got it sorted now lad! Thanks for the reply!
@helloukw Жыл бұрын
For error "docker: Error response from daemon: failed to create endpoint portainer on network bridge: failed to add the host" you just need to run command sudo reboot in order to reset your rPI. After that you can run sudo docker rm portainer and try again the portainer command.
@sharonxhazan Жыл бұрын
how do i install wordpress on it?
@Ramserik3 жыл бұрын
Thank you. Great one.
@SpaceRexWill3 жыл бұрын
Thanks!
@manuelprivado3 жыл бұрын
Gracias por el video. Segui los pasos y me funciono! Raspberry Pi CM4 8Gb Lite
@selvin98452 жыл бұрын
@SpaceRex thank you very much for creating this type of videos, very helpful. 😎👍 ((SUBSCRIBED))
@pedr0_m198 Жыл бұрын
worked, thanks
@riggsron Жыл бұрын
Thank you, thank you, thank you. Not only how but why Docker.