How to use Docker and migrate your existing Apps to your Linux Server?

  Рет қаралды 73,194

Christian Lempa

Christian Lempa

Күн бұрын

How to use Docker and migrate your existing Apps? We will cover all the cool advantages of containerization, and how to easily migrate and manage your existing services and apps into Docker Containers on your Linux Server! #Docker #Linux #Portainer
DOCS: github.com/christianlempa/vid...
Install Docker: docs.docker.com/engine/install/
Windows Terminal, ZSH, Themes: • Make your WSL or WSL2 ...
Portainer Installation: • Portainer Install Ubun...
Portainer Remote Host Management: • How to manage multiple...
Follow me:
TWITTER: / christianlempa
INSTAGRAM: / christianlempa
DISCORD: / discord
GITHUB: github.com/christianlempa
PATREON: / christianlempa
MY EQUIPMENT: kit.co/christianlempa
Timestamps:
00:00 - Introduction
01:25 - What is Docker and how does it work?
03:42 - How to get started with Docker
05:10 - Install Docker on your Workstation or Server
05:45 - Set Docker Permissions
06:21 - Deploy our first Docker Container
07:02 - How to find Container Images
07:46 - Deploy an NGINX webserver
09:00 - Persistent Storage with Volumes
11:21 - How to migrate data into Docker Containers?
13:20 - Manage Docker Resources with Portainer
----
All links with "*" are affiliate links.

Пікірлер: 76
@Stormendrang
@Stormendrang 6 ай бұрын
Dear Christian, During my (quite long) employment history as an IT pro, I have not seen many teachers with your excellent teaching skills. Thank you for this great explanation and nice video!
@GorkemYildirim
@GorkemYildirim 2 жыл бұрын
Complete guide for beginners and yes, Portainer is the way to go.
@christianlempa
@christianlempa 2 жыл бұрын
Thanks mate! ❤
@christianlempa
@christianlempa 2 жыл бұрын
Thanks mate! ❤
@mal-avcisi9783
@mal-avcisi9783 Жыл бұрын
so somehow this method strange. what if I for example on the system where e.g. a webserver runs various settings made on the webserver, no idea e.g. that the start index file is called differently. these settings are made mostly in the /etc/ directory. then I make the migration with this method, then the data are the same, but the changes in the /etc directory are no longer present. and the system will no longer work correctly on the new side. how do i proceed then ?
@adagmemes
@adagmemes 7 ай бұрын
Thank you for the video!!!
@UltimateJiuJitsu
@UltimateJiuJitsu 2 жыл бұрын
Thank you Christian! Excellent demo!
@christianlempa
@christianlempa 2 жыл бұрын
Thank you bro
@user-xt4wr5do5z
@user-xt4wr5do5z 11 ай бұрын
You're good, man! Keep up the good work
@sladgeh4mmer992
@sladgeh4mmer992 2 жыл бұрын
Thanks for the video ... high speed information flow and very helpful! I like your style presenting the content. With the portainer app i want to set up a gitlab environment. This could be another topic for portainer and how to access the service from other devices
@christianlempa
@christianlempa 2 жыл бұрын
Thanks for your feedback! I'm glad you like the new refreshed style 😄, good suggestion as well!
@mohammedalhabib4446
@mohammedalhabib4446 Жыл бұрын
Excellent and quick helpful guide.
@christianlempa
@christianlempa Жыл бұрын
Thanks! :)
@trinib1
@trinib1 2 жыл бұрын
love these videos.. you started in a year, and already almost 10k subscribers🎊.. you should make more videos on open source projects and how to use them
@christianlempa
@christianlempa 2 жыл бұрын
Thank you so much! 🥰 Thats a great suggestion.
@Dmkjr
@Dmkjr 2 жыл бұрын
I agree. Not only does this highlight open source programs, but also allows for further development [feedback] to those developers (encouraging). I personally run 10 or more applications that are open source and I've been committed to providing good feedback -- whether it's bad or good.
@giannifed
@giannifed 2 жыл бұрын
thank you Christian
@kotsh22
@kotsh22 2 жыл бұрын
great like always boss miss you
@christianlempa
@christianlempa 2 жыл бұрын
Thank you, bro! :)
@suvankardas7932
@suvankardas7932 2 жыл бұрын
awesome ..lv u bro
@christianlempa
@christianlempa 2 жыл бұрын
Thanks 😁
@mal-avcisi9783
@mal-avcisi9783 Жыл бұрын
this guy knows his shiat ! great !
@Dmkjr
@Dmkjr 2 жыл бұрын
Easiest question of the day. What terminal are you using? I love the look of that.
@christianlempa
@christianlempa 2 жыл бұрын
Thanks mate! I'm using Windows Terminal, I plan to do a full video on my whole setup soon so I hope that will be interesting, too
@andreaquentino1068
@andreaquentino1068 Жыл бұрын
super!
@maksymdudyk1718
@maksymdudyk1718 Жыл бұрын
Great video, Chris! Thank you! I wish you had a tut on VPS + docker management for a begginer like me?
@christianlempa
@christianlempa Жыл бұрын
Running docker on a VPS isn’t really different from any other Linux machine. If you need help check out our discord :)
@cleightthejw2202
@cleightthejw2202 Жыл бұрын
I have a question If one is running a Ubuntu server in Virtualbox (or some other) where the host is a Windows OS, can docker containers be run in that environment on the Ubuntu server? Which one is technically the 'host' to the docker container- Linux server or Windows?
@Ray_TambaBudol_Marcos
@Ray_TambaBudol_Marcos 2 жыл бұрын
Thank God that I found your channel. Just sub.
@christianlempa
@christianlempa 2 жыл бұрын
Thanks bro
@kribo9604
@kribo9604 Жыл бұрын
How do you store your pysical folders on your server. /opt/app_1 /opt/app_2 or do use the /var ??
@danielvega646
@danielvega646 8 ай бұрын
Does this even apply for git and IDLEs like intelij or vscode?
@rahikoley9236
@rahikoley9236 2 жыл бұрын
Amazing
@christianlempa
@christianlempa 2 жыл бұрын
Thank you so much! :)
@try-that
@try-that 2 жыл бұрын
Excellent run through. Very well done. Ideas for you, I'd like to see a wireguard container that can be used by other containers such as deluge. Wireguard containers seem to be problematic in getting them to run correctly on their own and with other containers
@christianlempa
@christianlempa 2 жыл бұрын
Thank you 😊, I'm currently thinking about making new wireguard content soon, so I might take a look at this.
@user-pu6kg9oj8t
@user-pu6kg9oj8t 2 жыл бұрын
Pl
@bryonmiller4326
@bryonmiller4326 Жыл бұрын
I don't really understand docker. I am just learning how all of this works within ESXi right now. I set everything up on a home lab not a host so I have unrealistic resources given to each VM. I don't really want to host my ecommerce site from home though but I have it all setup on the home servers. Am I understanding docker correctly in this sense? If I wanted to move my website to a paid host, if I set everything up in docker, I could basically take my website and put it into a docker image that would then be like a video game cartridge I could just plug in at any host I use? I'd have to setup a linux vm and setup docker just like I do at home, then once that's done, it's as simple as running the container and redirecting dns and setting up ssl and it'll just work?
@Skip-bk4gg
@Skip-bk4gg 2 жыл бұрын
Love Docker, even I run Game-Servers now through it :)
@christianlempa
@christianlempa 2 жыл бұрын
Really cool! Which games?
@JayPatel-wn7hs
@JayPatel-wn7hs 2 жыл бұрын
Ya cool... please tell us. Which game.?
@Skip-bk4gg
@Skip-bk4gg 2 жыл бұрын
@@christianlempa You can find on Docker Hub a unofficial Version from the Satisfactory Game-server. I've running two Server, one in my local Network and one on VPS for Playing with Friends. It has worked out of the Box, really cool. And I've created a Valheim-Game server on Top of the Ubuntu Server Image. It running also in my local Network only for me but working fine so far. In the Summary you can create Game-Server for all Games which support Server on Bare Metal Linux-Server. I've used in all Cases the Ubuntu Image as Basic. Only one Thing: some Games require a separate Steam Account for Hosting. In this Case you've to buy the Game twice (Farming Simulator, for Example...) otherwise you can host and play with one Steam Account. Also I had tested a self-created Ark Image but it has stopped working after Ark receives an Update. I'm already searching for the problem but i have not found anything yet.
@Enggmanagement
@Enggmanagement 2 жыл бұрын
I am just wondering if after doing a fresh Ubuntu install on VPS should I install a control panel before anything else. I want to run three wordpress websites, RDP server on Ubuntu with a desktop and Wireguard from one single VPS. Can you guide me to any tutorial I can follow?
@christianlempa
@christianlempa 2 жыл бұрын
I'm not using anything like cpanel or plesk. But that's what you should look for.
@tecnopadre
@tecnopadre Жыл бұрын
Hello. Thank you for this great video. Can you tell which OS is better for dockering? Ubuntu server or desktop? I'd say server as is lighter, but would like to know community opinion. Thank you
@christianlempa
@christianlempa Жыл бұрын
I think that really depends on what you're look for, a server or a desktop :D
@Hairybarryy
@Hairybarryy Жыл бұрын
Ubuntu server seems to be popular. Thats what im running right now. also I have been using Ubuntu on and off since 2004 so im bias
@HEWfunkingKNEWit
@HEWfunkingKNEWit 2 жыл бұрын
Nice content
@christianlempa
@christianlempa 2 жыл бұрын
Thanks mate! :)
@albertograssi6048
@albertograssi6048 Жыл бұрын
i'm on late, hope to get an answer anyway 🤞 I was reading about using multiple drives in order to setup my storage server, to do this i read a lot about installing docker using hyper-v instead of WSL because you can access to deeper configuration like the number of the cpu threads to use, the swap and ram to allocate, directory and stuff like that. What do you say about it?
@christianlempa
@christianlempa Жыл бұрын
Hm I’m not sure what you mean by installing docker via wsl on your storage server. Is your storage server a windows server?
@albertograssi6048
@albertograssi6048 Жыл бұрын
@@christianlempa Long story short: I’ve approached this deep rabbit hole of homelab very recently, everything started from the need to backup locally my personal pictures from iPhones in the “google photos” style. I already have multiple drives and I though to mount all in the Nextcloud’s docker container but it’s not simple as expected, then I found more of your videos (all great btw) but each one put more complexity to the project 🤦🏻‍♂️ I’ve lots of work to do
@yashmishra9603
@yashmishra9603 2 жыл бұрын
we can also run Linux container in windows os.
@christianlempa
@christianlempa 2 жыл бұрын
Nope you can't
@milleniumenterprise3254
@milleniumenterprise3254 2 жыл бұрын
FANTASTICO MMMMMMWAH
@christianlempa
@christianlempa 2 жыл бұрын
Thanks ❤
@mal-avcisi9783
@mal-avcisi9783 Жыл бұрын
so somehow this method strange. what if I for example on the system where e.g. a webserver runs various settings made on the webserver, no idea e.g. that the start index file is called differently. these settings are made mostly in the /etc/ directory. then I make the migration with this method, then the data are the same, but the changes in the /etc directory are no longer present. and the system will no longer work correctly on the new side. how do i proceed then ?
@christianlempa
@christianlempa Жыл бұрын
You need to store all config data in persistent volumes. Then you can easily migrate the data over to another machine.
@barkingbandicoot
@barkingbandicoot 8 ай бұрын
Ugh. I cannot grok this! When he is talking about migrating apps he is talking about doing so on the same server, no? What if I want to migrate data off a shared host server into a new VPS server set up and running Docker with Caprover? Can I just move the data over into the same file directory as before or does Docker have a containerised filesystem for every app? If so, how to get get data into them?
@JayPatel-wn7hs
@JayPatel-wn7hs 2 жыл бұрын
Portainer is Great... Make a video for Maria DB Backup and restore.
@christianlempa
@christianlempa 2 жыл бұрын
I made a video on Backup/Restore Linux Servers, might be interesting for you! kzbin.info/www/bejne/gKCkZ3Wbr8yeZ8U
@JayPatel-wn7hs
@JayPatel-wn7hs 2 жыл бұрын
@@christianlempa thanks...i will check...
@SidharthKaushiksid
@SidharthKaushiksid 2 жыл бұрын
Thanks for the tutorial, and explanation, but it is too fast, can run down a ittle slow.
@Nalanaij
@Nalanaij 2 жыл бұрын
Waiting for the kubernetes video ;)
@christianlempa
@christianlempa 2 жыл бұрын
Coming in 7 weeks :)
@Nalanaij
@Nalanaij 2 жыл бұрын
@@christianlempa enough time for me to check out the basics
@terrorpup
@terrorpup Жыл бұрын
So, with thousand of container being found with malware in them, yes you do have to worry. I saw this coming a lot time ago, because no think about security until it too late. Container are coming dangerous, only want it going to get secure is to pull back do private cloud.
@simipfaffi
@simipfaffi 2 жыл бұрын
Kannst du das auch auf Deutsch machen?
@christianlempa
@christianlempa 2 жыл бұрын
Könnte ich, aber mit englischem Content kann ich mehr Leute erreichen
@ckykenken
@ckykenken 2 жыл бұрын
How can I get the terminal look like yours?
@christianlempa
@christianlempa 2 жыл бұрын
I've done a video about my terminal: kzbin.info/www/bejne/d3yVe3hojth-qtE
@bertnijhof5413
@bertnijhof5413 Жыл бұрын
Normally I run Virtualbox Virtual Machines, but if I want a Linux container I download the corresponding snap :) So I use Ubuntu 16.04 ESM in an encrypted VM for my financial stuff. To get the latest versions of Firefox and LibreOffice, I installed their snaps. Both the encrypted VM and the snaps are very easy to use! I see no advantages in using Docker.
@greendsnow
@greendsnow Жыл бұрын
your green curtain is giving me anxiety.
@chillydoog
@chillydoog 4 ай бұрын
Bro, would you please draw on some eyebrows
Migrate Docker Volumes from one Host to another // backup and restore
8:56
Learning Docker // Getting started!
35:56
Christian Lempa
Рет қаралды 96 М.
ВИРУСНЫЕ ВИДЕО / Мусорка 😂
00:34
Светлый Voiceover
Рет қаралды 8 МЛН
FOOTBALL WITH PLAY BUTTONS ▶️ #roadto100million
00:24
Celine Dept
Рет қаралды 138 МЛН
How to protect Linux from Hackers // My server security strategy!
30:39
Christian Lempa
Рет қаралды 207 М.
What's the BEST home server operating system?
17:35
Christian Lempa
Рет қаралды 569 М.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,3 МЛН
Big Tech AI Is A Lie
16:56
Tina Huang
Рет қаралды 46 М.
Never install locally
5:45
Coderized
Рет қаралды 1,5 МЛН
you need to learn Docker RIGHT NOW!! // Docker Containers 101
23:19
NetworkChuck
Рет қаралды 2,5 МЛН
Is it time to switch from Docker to Podman?
16:05
Christian Lempa
Рет қаралды 208 М.
Desktop Apps in Docker Containers with Kasm Workspaces
15:47
Christian Lempa
Рет қаралды 77 М.
What's On My Home Server? Storage, OS, Media, Provisioning, Automation
27:30
Wolfgang's Channel
Рет қаралды 1,1 МЛН
Automate your Docker deployments with Ansible
20:32
Christian Lempa
Рет қаралды 86 М.