Docker & Docker Compose: Quick & Easy Install on Linux!

  Рет қаралды 13,723

DB Tech

DB Tech

Күн бұрын

Пікірлер: 37
@JonBrookes
@JonBrookes 10 ай бұрын
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 !
@TheTimeProphet
@TheTimeProphet 6 ай бұрын
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.
@DBTechYT
@DBTechYT 6 ай бұрын
That's great! I'm glad my script helped :)
@goodcitizen4587
@goodcitizen4587 10 ай бұрын
Love the proxmox deployments. Thanks!
@Richard-b8j8t
@Richard-b8j8t 8 ай бұрын
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_148
@killua_148 8 ай бұрын
We're waiting for the Proxmox Vlan video! 💪
@johnpetro6661
@johnpetro6661 10 ай бұрын
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.
@aprendainformaticagratis
@aprendainformaticagratis 10 ай бұрын
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_934
@cam_934 10 ай бұрын
Great, now can you add Portainer to that script as well?
@jj-icejoe6642
@jj-icejoe6642 10 ай бұрын
Just DIY
@cam_934
@cam_934 10 ай бұрын
@@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.
@DBTechYT
@DBTechYT 10 ай бұрын
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 :)
@DBTechYT
@DBTechYT 10 ай бұрын
Also added a new script file to the github that includes a script to install portainer
@cam_934
@cam_934 10 ай бұрын
@@DBTechYT Cheers
@lapierry
@lapierry 10 ай бұрын
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.
@DBTechYT
@DBTechYT 10 ай бұрын
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.
@lapierry
@lapierry 10 ай бұрын
@@DBTechYT thanks David
@Lunolux
@Lunolux 10 ай бұрын
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
@yourpcmd
@yourpcmd 10 ай бұрын
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.
@DBTechYT
@DBTechYT 10 ай бұрын
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 :)
@yourpcmd
@yourpcmd 10 ай бұрын
@@DBTechYT Thank you sir.
@tmtb
@tmtb 10 ай бұрын
Is installing docker-compose still relevant now that the docker cli has a compose command?
@DBTechYT
@DBTechYT 10 ай бұрын
Because this script does other things as well an can be modified to do more if one were so inclined.
@enderst81
@enderst81 10 ай бұрын
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 ...'
@enderst81
@enderst81 10 ай бұрын
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.
@ronm6585
@ronm6585 10 ай бұрын
Looks good, thanks.
@matthius519
@matthius519 8 ай бұрын
thanks made it really easy
@jawwadhussain8457
@jawwadhussain8457 10 ай бұрын
Can you guide on CentOS there bash can not run on Centos
@wendyfrancis3388
@wendyfrancis3388 10 ай бұрын
can this be done in WSL ubuntu or debian
@kristof9497
@kristof9497 10 ай бұрын
Thanks.
@nmarks
@nmarks 8 ай бұрын
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.
@DBTechYT
@DBTechYT 8 ай бұрын
Thanks for the engagement on the video?
@luigitech3169
@luigitech3169 10 ай бұрын
I use Debian + Cockpit Dashboard it's much more useful
@DBTechYT
@DBTechYT 10 ай бұрын
Cool. Glad you found a solution that works for you.
@RazoBeckett.
@RazoBeckett. 10 ай бұрын
3rd
@ren3059
@ren3059 10 ай бұрын
1st
Dockge: The New Docker Manager You Need To See!
22:23
DB Tech
Рет қаралды 92 М.
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 21 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 6 МЛН
HELP!!!
00:46
Natan por Aí
Рет қаралды 33 МЛН
What's Killing all the iMacs?
12:29
Action Retro
Рет қаралды 39 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 199 М.
Gluetun v3.39.1
26:57
Quentin McGaw
Рет қаралды 771
Linux Crash Course - Formatting & Mounting Storage Volumes
32:28
Learn Linux TV
Рет қаралды 255 М.
NAS vs. Home Server - What's the difference?
7:31
Wolfgang's Channel
Рет қаралды 398 М.
Install Pterodactyl and Wings Completely in Docker
17:11
Learn Docker in 7 Easy Steps - Full Beginner's Tutorial
11:02
Fireship
Рет қаралды 2 МЛН
Never install locally
5:45
Coderized
Рет қаралды 1,9 МЛН
I Built the PERFECT Game Server with Pterodactyl and Docker
33:30