Тёмный
No video :(

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

DB Tech
Подписаться 82 тыс.
Просмотров 12 тыс.
50% 1

If you'd like access to my content early with no ads, go here: / dbtech
This video has been on Patreon for multiple days and has no ads on it.
Want to unleash the containerization magic of Docker and Docker Compose on your Linux server? Skip the lengthy list of commands needed to get everything installed. This guide offers a smooth, efficient installation process for both root and non-root users.
There are a couple of different methods included in this tutorial, but the process is identical for each method. A link to my Github repository with more information is linked at the bottom of this page.
Pick Your Path:
Root Method: Clone the dockerinstall.git repo, make dockerinstall.sh executable, and run ./dockerinstall.sh. That's it! The script handles everything - sudo, curl, Docker, Docker Compose - leaving your server container-ready.
No Root Required: Prefer not to use root when administering your server? Try dockerinstallnoroot.sh. While limitations might exist depending on your system, it's a solid root-free option.
Behind the Scenes:
If you'd more detailed information about how the install scripts work, you can head over to the explanation at the bottom of the repository page:
github.com/dnb...
Friendly Reminders:
This guide works best on Debian-based Linux systems. Other flavors might require a few tweaks.
Always be cautious online: Read any script before running it, especially downloads from unknown sources.
More Info:
If you want to check out my Github repository, you can head over here for more information: github.com/dnb...
And if you want to check out more details on Dashdot, you can go here: getdashdot.com/
While I didn't show it in the video, there are additional configuration options that you can find in there docs: getdashdot.com...
/=========================================/
Get early, ad-free access to new content by becoming a channel member, or a Patron!
✅ / dbtech
✅ / @dbtechyt
All My Social Links:
✅ dbt3.ch/@dbtech
Join Discord!
✅ / discord
/=========================================/
The hardware in my recording studio is:
✔ Custom PC w/ Ryzen 2600, 32GB RAM, RTX 2070, Assorted Storage
✔ Panasonic LUMIX G7 4K Digital Camera: amzn.to/3IGEOcb
✔ SAMSUNG 34-Inch SJ55W Ultrawide Monitor: amzn.to/395g9BZ
✔ LG 27UK650-W 27” UHD IPS Display with HDR 10: amzn.to/398pg4S
✔ WALI Premium Dual Monitor Stand: amzn.to/398AiqM
✔ Neewer Lights: amzn.to/3nZcoSX
✔ Light Power Supply:amzn.to/3Konpqf
✔ 55" Gaming Desk: amzn.to/3AkgHgw
✔ Sabrent USB-C Hub: amzn.to/3qFcwbV
✔ Das Keyboard 4 Professional: amzn.to/3G9rPxM
✔ Fuqido Big and Tall Gaming Chair: amzn.to/3IGegrq
/=========================================/
The hardware in my current home servers:
✔ Synology DS1621xs+ (provided by Synology): amzn.to/2ZwTMgl
✔ 6x8TB Seagate Exos Enterprise HDDs (provided by Synology): amzn.to/3auLdcb
✔ 16GB DDR4 ECC RAM (provided by Synology): amzn.to/3do7avd
✔ 2TB NVMe Caching Drive (provided by Sabrent): amzn.to/3dwPCxj
✔ TerraMaster F5-221 (provided by TerraMaster): amzn.to/3IfH2QD
✔ 5x6TB WD Red Plus NAS: amzn.to/3LnbPvC
✔ 8GB DDR3: amzn.to/3kfLTX3
✔ TerraMaster F4-423 (provided by TerraMaster): amzn.to/3kjUms5
✔ 2x8TB Seagate Barracuda Compute: amzn.to/3xBAO95
✔ 16GB TEAMGROUP Elite DDR4: amzn.to/3MzzFV9
✔ 512GB Silicon Power NVMe Caching Drive: amzn.to/3MzkBae
All amzn.to links are affiliate links.
/=========================================/
✨Find all my social accounts here:
✅ dbte.ch/
✨Ways to support DB Tech:
✅ / dbtech
✅ www.paypal.me/...
✅ ko-fi.com/dbtech
✅ Cashapp: cash.app/$dbte...
✅ Venmo: venmo.com/dbte...
✨Come chat in Discord:
✅ dbte.ch/discord
✨Join this channel to get access to perks:
✅ / @dbtechyt
✨Hardware (Affiliate Links):
✅ TinyPilot KVM: dbte.ch/tpkvm
✅ LattePanda Delta 432: dbte.ch/dfrobot
✅ Lotmaxx SC-10 Shark: dbte.ch/sc10shark
✅ EchoGear 10U Rack: dbte.ch/echoge...

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@JonBrookes
@JonBrookes 8 месяцев назад
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 4 месяца назад
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 4 месяца назад
That's great! I'm glad my script helped :)
@aprendainformaticagratis
@aprendainformaticagratis 8 месяцев назад
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
@goodcitizen4587
@goodcitizen4587 8 месяцев назад
Love the proxmox deployments. Thanks!
@user-ol2nz9eg6f
@user-ol2nz9eg6f 7 месяцев назад
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
@johnpetro6661
@johnpetro6661 8 месяцев назад
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.
@lapierry
@lapierry 8 месяцев назад
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 8 месяцев назад
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 8 месяцев назад
@@DBTechYT thanks David
@killua_148
@killua_148 6 месяцев назад
We're waiting for the Proxmox Vlan video! 💪
@cam_934
@cam_934 8 месяцев назад
Great, now can you add Portainer to that script as well?
@jj-icejoe6642
@jj-icejoe6642 8 месяцев назад
Just DIY
@cam_934
@cam_934 8 месяцев назад
@@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 8 месяцев назад
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 8 месяцев назад
Also added a new script file to the github that includes a script to install portainer
@cam_934
@cam_934 8 месяцев назад
@@DBTechYT Cheers
@yourpcmd
@yourpcmd 8 месяцев назад
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 8 месяцев назад
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 8 месяцев назад
@@DBTechYT Thank you sir.
@Lunolux
@Lunolux 8 месяцев назад
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
@tmtb
@tmtb 8 месяцев назад
Is installing docker-compose still relevant now that the docker cli has a compose command?
@DBTechYT
@DBTechYT 8 месяцев назад
Because this script does other things as well an can be modified to do more if one were so inclined.
@enderst81
@enderst81 8 месяцев назад
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 8 месяцев назад
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.
@matthius519
@matthius519 6 месяцев назад
thanks made it really easy
@ronm6585
@ronm6585 8 месяцев назад
Looks good, thanks.
@jawwadhussain8457
@jawwadhussain8457 8 месяцев назад
Can you guide on CentOS there bash can not run on Centos
@wendyfrancis3388
@wendyfrancis3388 8 месяцев назад
can this be done in WSL ubuntu or debian
@kristof9497
@kristof9497 8 месяцев назад
Thanks.
@luigitech3169
@luigitech3169 8 месяцев назад
I use Debian + Cockpit Dashboard it's much more useful
@DBTechYT
@DBTechYT 8 месяцев назад
Cool. Glad you found a solution that works for you.
@RazoBeckett.
@RazoBeckett. 8 месяцев назад
3rd
@nmarks
@nmarks 7 месяцев назад
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. RU-vidrs must learn to talk around the subject more otherwise you're not wasting viewers' time enough.
@DBTechYT
@DBTechYT 7 месяцев назад
Thanks for the engagement on the video?
@ren3059
@ren3059 8 месяцев назад
1st
Далее
Dockge: The New Docker Manager You Need To See!
22:23
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Просмотров 1,4 млн
This web UI for Ansible is so damn useful!
20:07
Просмотров 476 тыс.
Docker Guide
19:10
Просмотров 77 тыс.
WATCH THIS to get started with Docker (easy mode)
16:04
This Docker Compose UI is amazing! // Dockge
13:08
Просмотров 102 тыс.
What's on my Home Server?? MUST HAVE Services 2023!
27:29
Is it time to switch? // Docker vs Podman Desktop
16:05