failed to set up the portainer container for me. had to install apparmor then it started working
@repairstudio4940
Жыл бұрын
Help how on earth can I copy the script for the nano docker-compose.yml into nano. I'm on another lappy and went to the console online. Logged in and set everything up but I cannot run the script. I attempted writing it but get the error: yaml.scanner. ScannerError: mapping values not allowed in " ./docker-compose.yml", line 3, column 9
@repairstudio4940
Жыл бұрын
Did you get the nano docker-compose.yml script running, I keep getting an error on line 3 column 9 and I cannot for the love of money/God/fuckingUnicorns copy and paste anything in nano it's just impossible. I'm logged into Proxmox from another PC and in inside dietpi console but the script he has in the description will NOT copy and paste inside nano...how in the hell does one do that?
@weswynkoop2772
9 ай бұрын
@@repairstudio4940 did you ever figure this out? Same issue
@ZergRadio
8 ай бұрын
@@repairstudio4940 I am using windows powershell and when nano comes up I can right click to paste the text into nano.
@scottwillis7304
Жыл бұрын
Thanks so much for the super helpful run through. I too hit the "docker-compose" vs newer "docker compose" issue, the later being the one to use now.
@jacus58
7 ай бұрын
Great tip, thanks
@Montagic
8 ай бұрын
Probably one of the most useful videos I've watched yet as a Proxmox newbie. Thanks a bunch!
@baileyboy3687
Жыл бұрын
Thank you so much for taking the time to add the notes. Takes forever to keep on rewinding on other vids to take notes etc as im following the video setting up a test machine in work but i want to set all this up at home as well. Can add them to joplin and then follow along at home.
@chokolokoloko
Жыл бұрын
Hey, I rarely comment but I know you do read these. Thanks a lot, I have been trying to setup my homelab for a few weeks now and this series comes just on time to explain lots of things. I really appreciate that you explain EVERYTHING you do and why, even small things like pressing tab to autocomplete names in the CLI. I am learning a lot with your videos, so thanks. I have a few noob questions; 1 - What's the advantage of doing this instead of running everything inside one machine with portainer? Other than being able to run VMs, is it simpler to organize and distribute resources (Mainly speaking about storage, as I want to have 2 raid1 disks and I would like to have them accessed differently from different containers)? 2 - I was setting my homelab with portainer only to run a few containers, and then I started having trouble setting up my PiHole because it is conflicting with some ports that Next Cloud is using too. So, would it be easier to run things separately with proxmox? Are there any latency/network issues if I run PiHole nested? 3 - Would I be able to set up/isolate ngix in one container, and still have access to my other VM's/containers, or do I have to set up all containers that I want to have access trough ngix in one place? Hope this makes sense!
@MRPtech
Жыл бұрын
Hi. Thank you for a comment. I am glad that my videos helping you with your home lab project 1 - Yes. i can easily had everything running in docker with containers and call it a day. I like to use proxmox as i keep trying new things, and while trying new things i mess a lot. Instead of reinstalling main OS and setting up docker and all containers from 0 i use proxmox VMs for testing. And Proxmox snapshop/backups saved my butt more than onces. And i don't want to have 2, 3, 5 different PCs running at the same time doing all the things so 1 machine with proxmox and bunch of VMs / CT Containers is great option for me. With storage - i do have couple videos ready to be recorded to show how to setup TrueNAS to be all storage centre with Raid 1 + cache ZFS setup. Than setting up different datasets for all the things we might need. These videos will be next to be published or maybe 1 or 2 after. Depends on when i will receive Drive Bay for this. 2 - Yeah. with docker and containers you need to keep eye on what ports are free or not. Specially when you have 10 - 20 containers or more. Another thing is that not all containers are happy with port publishing style.What i mean is, lets say container service needs ports 1234 and host port 1234 already in use so you map like ports: 1235:1234. Container won't be happy that outside port is 1235 mapped to inside port of 1234 and will not work. This is one of the reason i like to have separate VM's for services. Still i combine some docker containers in one VM like for example i will combine pyload / jdownloader and filebrowser in one VM as they all fall under "cloud / file download" category in my books. 3 - i used to use ngix proxy manager to map that with my domain. Now i am using Cloudflare own solution and it is great. With cloudflare solution ir don't need to port forward anything and it is locked out to my only access. anyone else trying to access via domain will be stopped by cloudflare with no access page. Cloudflare runs on CT Container and controls all the access to all my VM's. Stops anyone accessing unless they are in my whitelist. Video about that will be done.
@chokolokoloko
Жыл бұрын
@@MRPtech that’s bananas! All of that is exactly what I want to setup as well, thanks a lot, will look forward to that!
@fieryscorpion
Ай бұрын
Great series. Thank you so much. Could you please make a video on how to automate all this with CI CD pipeline and something like Pulumi? IaC will save a lot of time to replicate this.
@repairstudio4940
Жыл бұрын
Help me I cannot get: sudo docker-compose up -d To do anything I get the error command not found
@chacho9948
9 күн бұрын
use docker compose witouth "-"
@repairstudio4940
9 күн бұрын
@@chacho9948 TY!
@TheMrWenden
8 ай бұрын
Muchas gracias por el tutorial, muy pero muy útil.
@am7-p
Жыл бұрын
How come you didn't erase the machineid before creating the template?
@kovalus
8 ай бұрын
Very good tutorial. Thank You. For me, only dietpi-software doesn't install docker-compose, but apt.
@MRPtech
8 ай бұрын
dietpi-software don't have option to install docker-compose .... yet.
@vklab24
4 ай бұрын
failed to run the sudo docker-compose up -d command (command not found) - i've added manually all the syntax in the nano file - docker.compose.yml - any ideas?
@MRPtech
4 ай бұрын
First - should be docker-compose.yml and not docker.compose.yml 2nd, if command not found, check if docker compose is installed by running "docker-compose -v" You should see a version output.
@0views372
Жыл бұрын
How would I go about increasing the size of the cloned VM disk?
@MRPtech
Жыл бұрын
Let's say you have DietPi VM with 32GB of storage allocated. To increase that to 64GB you need to: [ MAKE A BACKUP OF VM!!!. Just in case] - first - shut down that VM - select VM on the left side - click hardware - select disk. If you followed my DietPi Template setup it should be "Hard Disk (scsi1) ***** - At the top you should see 5 buttons, click on Disk Action and select "Resize" - If you want to add additional 32GB to this disk. type 32. You can ONLY increase size of the disk, you CAN'T decrease. This field is for how much additional Gigabytes you want to add to a disk - Start DietPi VM and once it's booted type (While in ROOT) "dietpi-drive_manager", press enter - Inside the list using Arrow keys select main drive. It should be /dev/sda1. Press enter once selected. - on next page select "resize" and press enter You should get a message telling you that RootFS resize will occur on the next boot. Select OK and press enter. VM will restart and main disk will be extended.
@JaPaKa80
Жыл бұрын
Hi i make step by step ... by "Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: unable to apply apparmor profile: apparmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such file or directory: unknown" what to do???
@thedorkopotamus821
Жыл бұрын
same thing happened to me, I was able to get it to work by installing apparmor. "apt get install apparmor"
@MRPtech
Жыл бұрын
Turns out that since i posted this video, during VM setups (and LXC Container) Apparmor package is required to be installed.
@ZergRadio
8 ай бұрын
Nice tutorial but when you type in commands you press enter too fast. That means beginners like myself have to scroll back a few times, because we do not know where the text ends and have to re-scroll back. I mean when you completed typing the command one can at least wait a few seconds.
@MRPtech
8 ай бұрын
This is exact reason why KZitem allows users to pause the video
@mixtereE
Ай бұрын
Other ones have been great mr p but this tutorial is outdated or incomplete enough to be problematic. the process to install diepi is not now what mr p shows, there's a new version, and each effort I have made to do this fails. This template is a key part of future tutorials, like true nas and file browser, so diet pi installation going wrong throws those tutorials off the tracks too. Mr P please consider providing help. You led us into the wilderness and then took off!
@MRPtech
Ай бұрын
Where do you get stuck ? I just went and followed my own tutorial from this video and got all setup and running in less than 10 min
@mixtereE
Ай бұрын
@@MRPtech I said something more to warn other noobs. IT does not work as you demonstrate. But problems around diet pi installation, especially around 8:06. Diet pi instructions are now different. 7z is not part of their instructions.They are using bookworm and xz utils. Maddening!
@awork5592
Жыл бұрын
sudo: docker-compose: command not found ???? HELP ??????
@MRPtech
Жыл бұрын
At what stage on setup you trying to run docker-compose ?
@awork5592
Жыл бұрын
@@MRPtech Iam following your walkthrough but @15:19 when i run "sudo docker-compose up -d" command, it outputs "sudo docker-compose: command not found"
@MRPtech
Жыл бұрын
Do you have docker-compose installed. you can double check by running comment: "apt install docker-compose" if docker-compose already installed - system will let you know, if not - installation will continue
@DavidTavares1110
Жыл бұрын
@@MRPtech thats not the problem, I followed step by step and get to the same error
@LoganX8s
Жыл бұрын
I had the same issue, I solved by installing the following as root: apt install docker-compose apparmor && reboot
@vklab24
4 ай бұрын
Thanks! Following up this dietpi set up process! Which text editor you use? I could not get it installed on my system. Do you have a guidance or reference how to install it? Also i'm struggling to paste content on the portainer-data folder namely the docker.compse.yml
@MRPtech
4 ай бұрын
text editor called nano to install it, type "apt install nano -y"
@vklab24
4 ай бұрын
@@MRPtech thanks! on the minute 4.00 you mentioned that you move to termux (hope i'm spelling it correctly) this is a text editor is that correct? how to get that instead of the shell from proxmox? Is this something that is required?
@vklab24
4 ай бұрын
@@MRPtech got it! stuck now on the sudo docker-compose up -d command - it's telling me command not found | although i've installed it from the dietpi-software repository - any idea what i'm missing - min 15. 22 seconds for your reference
@vklab24
4 ай бұрын
i sorted this one just using terminal - powershell - nevertheless would be nice to use that terminal you're using
@vklab24
4 ай бұрын
figured it out with docker compose command docker-compose is older
@repairstudio4940
Жыл бұрын
Man you go way too fast and how on earth do I copy and paste anything in nano? Now I have no idea but I did I think everything you stated up to 14:48 but when you try to run all that jazz I had to type in nano because copy/paste isn't happening outside nano well it doesn't and when I ls all I have is: docker-compose.yml portainer-data You seem to have 4 when you ls ...help!
@bernardbrown3199
Жыл бұрын
Same problem with nano and copy paste from windows chrome to the proxmox webinterface
Пікірлер: 52