This is quite similar to how I install docker to new hosts but more so, your repo and video are illustrative of how to lay out such a repo with code and clear readmes. It is also a good template for starting other projects. For those that could fear the command prompt, this is a good intro to not fear it and to see how you can do an awful lot with not a great amount of code whilst still understanding what is going on. Nice one !
@TheTimeProphet6 ай бұрын
I had previously installed docker and then docker-compose, and even though it worked it was like it was running twice as I couldn't close down any containers. Anyway I couldn't get rid of it. So I made a clean install of 'Ubuntu Server' and tried your script. Everything now works perfectly. Thanks.
@DBTechYT6 ай бұрын
That's great! I'm glad my script helped :)
@goodcitizen458710 ай бұрын
Love the proxmox deployments. Thanks!
@Richard-b8j8t8 ай бұрын
Fab video, followed easily and got up and running. I am a newvbie to docker so trying the "easy" ish way to do things until I get used to it
@killua_1488 ай бұрын
We're waiting for the Proxmox Vlan video! 💪
@johnpetro666110 ай бұрын
That dashboard reminds me a bit of that Raspberry Pi specific app you installed as part of your homelab series. Definitely a useful little app.
@aprendainformaticagratis10 ай бұрын
I have a similar script that does that, I have included two things in my script. I do create an new user because a few docker containers doesnt run as root and I set up the ssh connection as well. 👍 13:25
@cam_93410 ай бұрын
Great, now can you add Portainer to that script as well?
@jj-icejoe664210 ай бұрын
Just DIY
@cam_93410 ай бұрын
@@jj-icejoe6642 I currently do, but a script for docker, docker compose and portainer has me ready to make new stacks with my saved yaml's files real quick.
@DBTechYT10 ай бұрын
Hey @cam_934 you absolutely can. I got it working using just a couple more lines of code like you can see here: code.dbt3ch.com/jmhFBXPI just ssh into your server, create a new file, paste the contents of that paste into it, chmod +x the file and then run it. You can do all kinds of fun stuff with these files, but be sure to be careful with them :)
@DBTechYT10 ай бұрын
Also added a new script file to the github that includes a script to install portainer
@cam_93410 ай бұрын
@@DBTechYT Cheers
@lapierry10 ай бұрын
Great video as always. I am fairly new to proxmox but currently using a Synology NAS for my docker containers. I want to migrate them to Proxmox. The question i have is what is the best setup for docker containers on Proxmox? 1. Use one LXC per docker container by using the script 2. Have an Ubuntu server VM with docker and install all containers in the VM or 3. Have a Debian VM with CasaOS and run containers from there. There are likely other setups but looking for guidance. Thanks.
@DBTechYT10 ай бұрын
It's really all about what you're looking for in the end. I have a couple of setups. One is just a test server on Proxmox. It's just that. I test things on it. So each of the things I test on that server get its own LXC container because it's not going to be on the server for very long. I can spin on the LXC, do my testing or tutorial video on it and then scrap the LXC. On my production server, it's actually very much the same, but for different reasons. Each service I run on the production server gets its own LXC, but I do this for disaster mitigation purposes. If one of my services gets an update that crashes the system, I can just revert to a previous version of that service without affecting any other service on the system. For instance, I had this exact thing happen with my BookStack instance. But, because it was in its own LXC it was super fast to restore and I didn't have to worry about losing data on any other service.
@lapierry10 ай бұрын
@@DBTechYT thanks David
@Lunolux10 ай бұрын
thx for the video, sometime i forget that i have gitea in local so i can store some script to use in my lxc by the way do you use something like "olivetin" to exec something from the web ? maybe a video about it ? have a nice day
@yourpcmd10 ай бұрын
Very nice and easy to follow along. Perhaps, is there a way to add other things? Such as let's say Portainer, NGinx, and or CoPilot? Perhaps after Docker is installed, give a Y/n for each other installation? Just a thought.
@DBTechYT10 ай бұрын
I actually updated the script to auto-install portainer. Might have to look into some other options to add to it, but I like the direction you're heading :)
@yourpcmd10 ай бұрын
@@DBTechYT Thank you sir.
@tmtb10 ай бұрын
Is installing docker-compose still relevant now that the docker cli has a compose command?
@DBTechYT10 ай бұрын
Because this script does other things as well an can be modified to do more if one were so inclined.
@enderst8110 ай бұрын
No it's not relevant. docker-compose was a python hack that was not meant for production. The docker devs took that and made it a module in native go and is included in installations. So anywhere you see someone using 'docker-compose ...' just drop the - and use 'docker compose ...'
@enderst8110 ай бұрын
I don't want my comment to come off as disrespectful to DB Tech because like he says, that part can be modified for your own use. It really does offer a great example of scripting for those not familiar with creating scripts.
@ronm658510 ай бұрын
Looks good, thanks.
@matthius5198 ай бұрын
thanks made it really easy
@jawwadhussain845710 ай бұрын
Can you guide on CentOS there bash can not run on Centos
@wendyfrancis338810 ай бұрын
can this be done in WSL ubuntu or debian
@kristof949710 ай бұрын
Thanks.
@nmarks8 ай бұрын
You didn't talk around the subject enough. You didn't talk about the weather, how your family vacation went, you didn't mention how Aunt Ethel's operation went, your favourite coffee etc. KZbinrs must learn to talk around the subject more otherwise you're not wasting viewers' time enough.
@DBTechYT8 ай бұрын
Thanks for the engagement on the video?
@luigitech316910 ай бұрын
I use Debian + Cockpit Dashboard it's much more useful
@DBTechYT10 ай бұрын
Cool. Glad you found a solution that works for you.