Learn Docker in 7 Easy Steps - Full Beginner's Tutorial

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 16. 05. 2024
  • A complete introduction to Docker. Learn how to Dockerize a Node.js and run manage multiple containers with Docker Compose. fireship.io/lessons/docker-ba...
    00:00 What is Docker?
    01:54 Installation & Tooling
    02:40 Dockerfile
    06:06 Build an Image
    07:12 Run a Container
    08:52 Debugging
    09:35 Docker Compose
    Source code github.com/fireship-io/firesh...
    Official Docker www.docker.com
    #LearnToCode #Docker
    Install the quiz app đŸ€“
    iOS itunes.apple.com/us/app/fires...
    Android play.google.com/store/apps/de...
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    My VS Code Theme
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
  • Věda a technologie

Komentáƙe • 924

  • @hellfishii
    @hellfishii Pƙed 3 lety +5109

    This video solved my sleep schedule and my social life thx man, now i can talk to my gf about dockerizing our relationship

    • @rooneymara8061
      @rooneymara8061 Pƙed 3 lety +253

      Probably should. That way, it works on both your systems.

    • @abdulelahaljeffery6234
      @abdulelahaljeffery6234 Pƙed 3 lety +295

      .. just don't forget to expose the right port, so that you can connect to it from your machine ..

    • @tekken_king1151
      @tekken_king1151 Pƙed 3 lety +15

      Best comment 😂

    • @FalseDev
      @FalseDev Pƙed 3 lety +18

      He had us in the first half ngl

    • @michaelaramis1210
      @michaelaramis1210 Pƙed 3 lety +7

      ill wait for the kubern8 to fix my loneliness

  • @AshishYadav-gm7sy
    @AshishYadav-gm7sy Pƙed 3 lety +2018

    the way you pronounced "docker ps" was hilarious 😂😂

    • @covertgravy
      @covertgravy Pƙed 3 lety +82

      I will most probably never forget that command in my life because of how he pronounced it.

    • @31redorange08
      @31redorange08 Pƙed 3 lety +7

      *mispronounced

    • @DiabloVal
      @DiabloVal Pƙed 3 lety +13

      For once i think i heard piss.

    • @0xedb
      @0xedb Pƙed 3 lety +3

      went back so I don't miss LOL

    • @MundoFinky
      @MundoFinky Pƙed 3 lety +28

      2:10

  • @jugzster
    @jugzster Pƙed 3 lety +1427

    "Docker is a way to package software so it can run on any hardware" better and simpler definition than in the official docs. I love how you simplify complex concepts and pack tons of valuable info into such a short time. Thanks!

    • @kebien6020
      @kebien6020 Pƙed 2 lety +79

      Actually, you can't run docker even in the same architecture but a different OS. Since most of the time the production environment will be linux (and docker actually requires some Linux features to work) then locally you either use Linux or use a Linux VM (docker desktop handles the VM under the hood, which nowadays is implemented using WSL on windows and a native hypervisor on Mac).
      A more accurate statement would be "docker is a way to package your applications so that they run on a predictable, isolated environment with all their dependencies available"

    • @kebien6020
      @kebien6020 Pƙed 2 lety +23

      @avfr My pleasure!

    • @lasysk
      @lasysk Pƙed 2 lety +8

      ​@@kebien6020 Docker desktop is just the GUI. The Docker engine is what handles containers and it runs a VM of linux. But you don't need to do anything different on a Mac or Windows than you would on a Linux host, it's the same experience to any host that can install and run docker engine.

    • @kebien6020
      @kebien6020 Pƙed 2 lety +15

      @@lasysk I just checked on the official docs and no, Docker Engine is not responsible for running any kind of virtualization.
      But that's just terminology. Your point stands that from a developer's point of view nothing changes...
      Except performance is worse when not running natively.
      ...And bind mounts have a really high performance penalty on windows and mac, whereas they are even a performance boost on linux (as compared to the writable layer of the container).
      ...And mounting unix domain sockets to the host doesn't work.
      ...And host networking doesn't work either.
      ...And you can't see /var/lib/docker (useful for educative purposes).
      ...And when you build an image the build context has to be transferred over the socket, which is slower

    • @pouris
      @pouris Pƙed 2 lety +2

      @@kebien6020 cool. Can you teach me?

  • @XStarProd
    @XStarProd Pƙed 3 lety +498

    "The leading cause of imposter syndrome among developers is not knowing docker"
    You had me in the first 4 seconds. This hits too close to home

    • @thatsalot3577
      @thatsalot3577 Pƙed rokem +15

      @randomguy9777 don't be sus about yourself.
      Just start using it for small commits, if you don't remember commands us inbuilt vscode feature, whatever you do webdev - frontend or backend react native or flutter, unity or unreal just start using it.
      The thing about git is you don't learn it, you just get better in it.

    • @sayamqazi
      @sayamqazi Pƙed rokem +7

      You can replace docker with any DevOps tech in this sentence and it holds

    • @sayamqazi
      @sayamqazi Pƙed rokem

      @@thatsalot3577 dude he is talking about docker not got. Lol almost every half decent Dev knows git.

    • @sayamqazi
      @sayamqazi Pƙed rokem +1

      Oh I see your commnet was probably for someone else

  • @sirjansingh310
    @sirjansingh310 Pƙed 3 lety +2072

    Devs before docker: "It works on my system"

    • @themindstorm9947
      @themindstorm9947 Pƙed 3 lety +234

      "Then ship your system"

    • @TheLooker97
      @TheLooker97 Pƙed 3 lety +230

      and now: "It works in my container"

    • @arshadpakkali
      @arshadpakkali Pƙed 3 lety +22

      I actually told this to my Pm today đŸ˜‚đŸ€Ł

    • @gorudonu
      @gorudonu Pƙed 3 lety +111

      "cool, so we can put your laptop in server room and host our project"

    • @filipslezak5152
      @filipslezak5152 Pƙed 3 lety +33

      Now : strange it runs on dev just fine.

  • @osamazaidiah
    @osamazaidiah Pƙed rokem +52

    @Fireship AMAZING VIDEO. I summarized what I learned here:
    # What is Docker?
    * away to package software to that it runs on any system.
    * Docker helps us run our software on any machine by reproducing environments
    * Install the software and make sure your command line is working
    * Make sure to also install the docker extension for your editor
    # Three fundamentals for understanding containers
    * Dockerfile: a blueprint for building a docker image
    * Create your environment with a docker file
    * Docker Image (image): a template for running docker containers
    * Images are uploaded to the cloud in registries
    * One image file can be used to spawn many containers
    * Images are saved in layers: start with a node image, add dependencies, add code...etc.
    * Note that images are cached between runs if nothing changes. Hence it is important to list the image of the dependencies before code so that they are cached.
    * Container: a running process or application based on an image
    # Important commands to master
    * docker ps
    * Lists all current **running** containers on the system

    ## Dockerfile
    * Create a Dockerfile (mind the spelling and no extension)
    Add the instructions you want to be used to create an image:
    * FROM: starting image to build the first layer of the container
    * EXAMPLE: FROM ubuntu (no node) // FROM node:12 (already configured with node)
    * WORKDIR: specify which directory has your code (like a CD into a directory)
    * WORKDIR /app
    * COPY: copies a file FROM a location in your source to the ROOT of the OS
    * COPY package*.jso ./
    * RUN: runs a command in the terminal! Uses SHELL FORM (terminal style)
    * RUN npm install
    * COPY . . (copy all our source code and your NODE_MODULES!! (see next step for solution))
    * Adding a .dockerignore file to your root helps you avoid copying your node_modules to your image
    * ENV: sets an environment variable
    * ENV PORT=8080
    * EXPOSE: exposes a port publicly
    * CMD: can only be run once per container. Should be written in EXEC FORM (Array Style):
    * CMD ["node", "start"]
    # Building your image
    In a terminal, run:
    * docker build: builds an image with (-t) tag name:
    * docker build -t {username}/{imagename}:{versionNumber} {path}
    * This then will go through the dockerfile and do the steps we've listed
    * Then you can use: docker push (to push to an online registry)
    # Running your image into a container
    * docker run {imageId} or docker run {imageTagName}
    * To enable your EXPOSE command to work, use port forwarding:
    * docker run -p 5000:8080 //map port 5000 on your machine to 8080 in the container
    * Containers keep on running even after you close the terminal. You need to stop them with docker itself
    * Note that when you stop a container all the data inside of it is lost.
    * If you need to keep the data, you need to use VOLUMES
    # Volumes
    * a dedicated folder on the host machine
    * used to store files to be used later using remounting
    * docker volume create shared-stuff
    * --mount source=shared-stuff, target=/stuff
    # Debugging
    * use:
    docker desktop
    docker exec
    * See logs, files...etc
    # Performance Tips
    * Use a microservices architecture
    * Run one process per container
    * Use **docker compose** to run several containers simultaneously
    # Docker Compose
    * create a **docker-compose.yml** file
    * Configure the compose command:
    version: '3'
    services:
    web:
    build: .
    ports:
    - "8080:8080"
    db:
    image: "mysql"
    environment:
    MYSQL_ROOT_PASSWORD: password
    volumes:
    - db/data:/foo
    volumes:
    db-data:
    * When you are done, use docker compose-down to close the container set

    • @Ghibliite
      @Ghibliite Pƙed 3 měsĂ­ci +1

      Bump

    • @SaiVikram-tv5fj
      @SaiVikram-tv5fj Pƙed 2 měsĂ­ci +1

      how did you do this ...? any extension to convert u tube video to text

    • @blackflame_
      @blackflame_ Pƙed 29 dny

      Thank you for this comment

  • @codeland7384
    @codeland7384 Pƙed 3 lety +242

    I was LITERALLY struggling with a Docker setup when this video came out. I know people are joking about how Jeff's reading our minds, but I'm scared.

    • @bennihtm
      @bennihtm Pƙed 3 lety +18

      That aren't jokes...

    • @generalqwer
      @generalqwer Pƙed 3 lety +15

      Its called market research, he is probably looking at search trends and making videos based on that.

  • @xpkareem
    @xpkareem Pƙed rokem +70

    I have no idea how you do it. You manage to teach an hour worth of stuff in 11 minutes. You deserve billions of views. I am literally learning everything from you. Super fast, and with almost no attention span. Thank you. Never stop making these things.

  • @karanagarwal282
    @karanagarwal282 Pƙed 3 lety +404

    this 11-minute video got more content that my institute's 3 hr lecture

    • @user-he8rl4sm3k
      @user-he8rl4sm3k Pƙed 3 lety +39

      Dude modern Unis are shit for most programs, they're not as practical and they have to prioritize filling space over actually making sure the students know what they're supposed to. Especially for programming, they're getting replaced by online schools who give you exactly what you pay before. Instead of spending money on bloat and schools that look like castles

    • @peppigue
      @peppigue Pƙed 2 lety +11

      Schools generally teach way too slowly imo.

    • @roro4787
      @roro4787 Pƙed 2 lety +35

      @@user-he8rl4sm3k nah universities don't need to teach programming. It's a prerequisite that can be learnt online. They teach higher level of information research on better algorithms, faster methods, new architectures and so on. It's like no university teach you basic math... similar story to programming

  • @EstebanCodes
    @EstebanCodes Pƙed 3 lety +472

    Haha the intro is so true , impostor syndrome for not knowing docker

  • @TheDorac1
    @TheDorac1 Pƙed 3 lety +344

    This was absolutely amazing. I really struggle with long, drawn out videos and finding this video where it sums it up so beautifully is fantastic. Thank you!

    • @DrunkenUFOPilot
      @DrunkenUFOPilot Pƙed 2 lety +9

      He hit the right speed and depth. I just want to know something about all this, not slog through a two hour lecture with too much details, or be bamboozled by a short video where the explainer talks too fast and uses plenty of already-in-the-know jargon.

  • @inkz9002
    @inkz9002 Pƙed 3 lety +15

    OMG, I just started looking for Docker videos right now and this showed up with "uploaded 10 minutes ago". You always know what I need! Thank you.

  • @l_qd4542
    @l_qd4542 Pƙed 2 lety +12

    The amount of knowledge in every video is unbelievable. Props to you, you just made my tech journey a lot better

  • @snehel1586
    @snehel1586 Pƙed 2 lety +3

    the best tutorial i have ever seen on docker...and the fact that it took barely 10 mins to complete the tutorial is exceptional !

  • @andrewvu712
    @andrewvu712 Pƙed 2 lety +2

    i have to say i'm lucky i come across this fun, compressive, comprehensive, hands-on tutorial. Fireship man you are pretty amazing.

  • @Amaraticando
    @Amaraticando Pƙed 3 lety +4

    You summarized in 11 minutes what some guides take 2 hours to expose. To the point!

  • @Pogibakayo
    @Pogibakayo Pƙed 3 lety +38

    Weird. I’ve been spending the last few hours trying to wrap my head around Docker compose. You’re a Godsend

  • @MusicGameFinatic999
    @MusicGameFinatic999 Pƙed 2 lety +9

    Dude, this was so helpful I can't even explain it. Great explanation! This was perfect for someone like me who has linux system admin knowledge, but doesn't understand docker super well. Thank you! 😊

  • @heeroluca
    @heeroluca Pƙed rokem +2

    I'm playing with Docker right now after seeing this video and it's awesome how powerful it is.
    Spent 4 hours reading doc and playing around on my own pc with previous projects (web server, databases and so on). Microservices are great.😀

  • @ighsight
    @ighsight Pƙed 2 lety +1

    Excellent. Excellent. Excellent. Started playing with Docker in 2018, have seen numerous tuts and walkthroughs. Came back for yet another refresh and this short vid is the best by FAR.

  • @ashishrao3069
    @ashishrao3069 Pƙed 3 lety +44

    Prolly the only channel I have turned on notification for.. đŸ”„

  • @rachaelbuxton3518
    @rachaelbuxton3518 Pƙed rokem +3

    This video was REALLY helpful!! This indeed resolved my insecurity for not knowing Docker.
    I love that it is short, sweet, and beginner-friendly as usual 👍

  • @DrunkenUFOPilot
    @DrunkenUFOPilot Pƙed 2 lety +3

    Wow, this is so clearly explained, even I understand it! I don't normally work in situations where docker is relevant, but some of the recent job prospects I've applied to mention Docker would be a nice extra skill, so I came to YT to find someone to explain the basics. I hit the jackpot here!

  • @steamyrobotlove
    @steamyrobotlove Pƙed 3 měsĂ­ci

    I want to thank you for all of these useful “quick start” videos. I’ve always had a passing interest in coding, but I only ever went as far as messing with html and css in geocities and livejournal way back in the day.
    I never thought I was capable of coding anything, but your videos make these complex, interconnected concepts seem more approachable. And as a person drowning as a Jr. SDET around my (very supportive) QA and dev coworkers, I truly appreciate these guides and tutorials.
    You’re a real one, Fireship. Thanks.

  • @akkimahajan6799
    @akkimahajan6799 Pƙed 3 lety +5

    Right content from the right person. Never knew the flow would be so smooth to grasp. đŸ‘ŒđŸ±â€đŸ

  • @patrickmullot73
    @patrickmullot73 Pƙed 3 lety +72

    Definitely goes to my "references" bookmark!

  • @yassineagalmame627
    @yassineagalmame627 Pƙed 3 lety +5

    You are incredible! I found the answer that had been digging in my head about docker. Thank you so much

  • @lyoneel
    @lyoneel Pƙed rokem +1

    Love your videos, basically you have the ability to compact things, without skipping IMO relevant information. Thanks a lot.

  • @diegodelrieu6672
    @diegodelrieu6672 Pƙed 3 lety +4

    Uploaded 1mn ago, right in the midst of a Docker struggle, thanks Fireship (awesome content)

  • @harshraj1379
    @harshraj1379 Pƙed 2 lety +11

    This 11 minute video is better than other one hour long videos out there. Thanks for this amazing content.

  • @georgecosminmarinica6656
    @georgecosminmarinica6656 Pƙed 5 měsĂ­ci

    You are actually the best content creator for everything web related and more. I deeply thank you for teaching me almost everything I needed. You were the foundation of my progression

  • @robertviragh6527
    @robertviragh6527 Pƙed 4 měsĂ­ci

    This was a very good primer for someone who hasn't been using Docker, I liked that special attention was called to the most important parts (the docker file!) as well as showing that just running a docker image won't expose its ports, I am sure I would have spent an hour trying to figure out why my docker image isn't working. I also liked the tip that stopping a container makes it lose its state, I was under the impression it was like a vm so I thought its state was saved, I probably would have made a docker image that included writing some local file, run it for weeks and then lost all my data! I don't think I've ever had as many conceptual misunderstandings cleared up in a row as this 11 minute beginner's guide. While I was just trying to fill in some small knowledge gaps, the gaps turned out to be much bigger than I thought and I would have been lost for sure. I appreciate the structure and content of this video, and how it explained the most important parts. It makes me want to watch all your other short videos of the same style, to fill in knowledge gaps I was missing. So far I only have a little time for watching videos while at work, and many other learning resources are blocked by my employer, so this is very good use of my time now. Thanks for creating this video!

  • @modolief
    @modolief Pƙed 3 lety +72

    At 4:00 You're looking at a Dockerfile with FROM as layer1 and WORKDIR as layer2. Now: FROM _does_ create a layer, but WORKDIR _does not_ -- the WORKDIR directive and several other directives, such as ENV, create metadata, not layers. All of the layer and metadata info is wrapped up in a JSON object that describes the image. But Dockerfile commands are not one-to-one with layers.

  • @bobasawrus
    @bobasawrus Pƙed 10 měsĂ­ci +6

    Amazingly concise. You deserve an award for the amount of information conveyed in 11 minutes.

  • @becayebalde3820
    @becayebalde3820 Pƙed rokem +5

    You are amazing! You enable us to learn a huge amount of things extremely fast.
    I would defintely love to see more Machine Learning content on your channel

  • @bananesalee7086
    @bananesalee7086 Pƙed 11 měsĂ­ci

    i'll need to try it out, but you managed to make the concept much clearer in just 10minutes compared to the countless 2h docker beginner tutorials. great video

  • @maheshbongani5157
    @maheshbongani5157 Pƙed 3 lety +46

    Awesome video, it served as a refresher for all the core concepts of Docker, you've covered almost everything in very little time. Great art of explanation. I must add this into my bookmarks. Will be waiting for more videos of this kind. Thank you man.

  • @Pumacks
    @Pumacks Pƙed 6 měsĂ­ci +6

    So unbelievably useful. I'm studying Computer Science and we got to Docker.
    While our Professor is explaining the stuff around like what is IAAS, PAAS and SAAS,
    we have to set up and work with virtual Machines and Docker to do the things behind the scenes.
    Now im actually understanding why i do these things.
    i bet this channel will grow to something massive in the developer community.

    • @SoftyakaBlade
      @SoftyakaBlade Pƙed 5 měsĂ­ci +1

      Its already massive , welcome :)

  • @szpiw
    @szpiw Pƙed 2 lety +1

    I'm impressed how efficient this video is. Thanks dude!

  • @stevebot
    @stevebot Pƙed rokem +1

    Thanks, this is an excellent video to watch after you’ve done the official Docker tutorial. It ties up the fundamental concepts better than any other video or doc I’ve seen so far.

  • @nkoradia
    @nkoradia Pƙed 3 lety +3

    You managed to summarise so much in 11 minsđŸ‘đŸœđŸ‘ŒđŸœ

  • @maabat8142
    @maabat8142 Pƙed 3 lety +26

    Perfect timing, I was having issues with my assignment, and decided to browse CZcams whilst my image was getting build. Glad I got a mini-refresher and learnt some stuff I needed for upcoming tasks.
    Thanks!

    • @Dennis-Ong
      @Dennis-Ong Pƙed 3 lety +1

      wow what level / CS you're in that require dockers? is it masters?

    • @Xajoc8
      @Xajoc8 Pƙed 3 lety

      Probably just some elitist highschool in the US...

    • @maabat8142
      @maabat8142 Pƙed 3 lety +1

      @@Dennis-Ong just a bach degree

    • @maabat8142
      @maabat8142 Pƙed 3 lety +3

      @@Xajoc8 nice assumption that i'm in high school or in the us lol. i'm nowhere near either

    • @anielaionelia2473
      @anielaionelia2473 Pƙed rokem

      @@Dennis-Ong jjjjjjÄ·Ä·Ä«

  • @Ricardoromero4444
    @Ricardoromero4444 Pƙed 3 lety

    I opened youtube to search for docker tutorials then saw this in my sub box. That was extremely good timing.

  • @dbreakiron
    @dbreakiron Pƙed 2 lety +1

    This is the best explanation of Docker I've seen to date. Thank you!

  • @notquitebleu
    @notquitebleu Pƙed 3 lety +10

    I was interested in docker a hour or two ago, and you uploaded this video, thanks

  • @obyerere
    @obyerere Pƙed 3 lety +4

    ... this was everything I needed, quick, straight to the point, very dumbed down. Loved it. Subscribed. Thank you.

  • @DakshGargas
    @DakshGargas Pƙed 2 lety +2

    I love your videos... you seem mostly Tutorial Videos are very "slow"...
    It's like they are trying to explain stuff to an intern... but most of the programmers anyway think *fast*... I mean nobody reads docs like one reads a novel... we literally scroll through the docs and then in the end get the abstract of it...
    Your videos are quick & engaging, containing all the important information...
    Thanks for that :)

  • @mwatkins0590
    @mwatkins0590 Pƙed rokem

    This was very easy to follow and went over so much so quickly. I did not expect to understand so much after having watched this a single time.

  • @anushibinj
    @anushibinj Pƙed 3 lety +137

    Now all Devs be "ps"sing at work 😂

  • @varswe
    @varswe Pƙed 2 měsĂ­ci +3

    Docker is in my resume now, thanks

  • @daxetm3611
    @daxetm3611 Pƙed rokem

    If I had watched this video last week, it would have helped me so much. I think you might be my favourite CZcamsr from now on, you give so much information in such a short video length.

  • @luismartins1150
    @luismartins1150 Pƙed 3 lety +1

    This video is gold. Most of Fireship videos are great, but this one has to be one of my favorites. I hope there's a continuation with kubernetes or something similar

  • @jhonbaptist1845
    @jhonbaptist1845 Pƙed rokem +3

    Two minutes in, and i already understood more them in all other videos combined !

  • @kareemamr5626
    @kareemamr5626 Pƙed 3 lety +6

    Such a clear and well paced explanation. Well done man.

  • @TheBlanning
    @TheBlanning Pƙed 2 lety +2

    Best explanation I came across. I took a few trainings in Udemy and plural sight but this short video has better and a more clear simple approach to this technology

  • @hdluktv3593
    @hdluktv3593 Pƙed 3 lety

    You're videos are so great and beautiful that even when I already know most about the video topic or I don't want to know about it I still watch the video. Great work! Keep going!

  • @irfanrashid2114
    @irfanrashid2114 Pƙed 2 lety +7

    Concise and to the point. Just what a beginner like me was looking for! Thank you for this awesome video!

  • @punsmith
    @punsmith Pƙed 3 lety +6

    Thanks, man. I've been feeling so out of the loop while everyone and their mother drinks the Docker/Kubernetes Coolaid... and I've always been low with my self-esteem, but now that I actually have to learn this too I feel overwhelmed.

  • @mattunlu8916
    @mattunlu8916 Pƙed 2 lety

    You are the master of Docker. You explain short but very clear! thanks

  • @thymarques
    @thymarques Pƙed 3 lety +1

    in 11 minutes your explained docker totally... that was nice!

  • @ItsMeHelel
    @ItsMeHelel Pƙed 3 lety +26

    Couldn't agree more with first 5 seconds! Love you, Jeff! You cured me from my impostor syndrome xD

  • @user-rk9uv9kl1q
    @user-rk9uv9kl1q Pƙed 3 lety +3

    love the approach, line by line, file by file just for međŸ€Ł

  • @nguyencaominhduc3826
    @nguyencaominhduc3826 Pƙed 3 lety +2

    You made me fall in love with programming once again

  • @viniciushenrique8211
    @viniciushenrique8211 Pƙed 2 lety

    Now THIS was a great tutorial. Very concise and to the point.

  • @BrentSinghsVlogLife
    @BrentSinghsVlogLife Pƙed rokem +5

    That opening line is incredible! đŸ€Ł

  • @moose43h
    @moose43h Pƙed 3 lety +6

    I can’t forget docker ps cause of the way you said it

  • @GuimoTheGizo
    @GuimoTheGizo Pƙed rokem

    Wow that was WAY clearer than every explanation I got from DevOps nerds at any of my past jobs

  • @ericaskari
    @ericaskari Pƙed 3 lety

    Awesome channel, I've been here for more than a year learning Angular, Rxjs and... đŸ”„đŸ”„.
    Always awesome videos.
    Thank youuu

  • @mikegeorgiadis4593
    @mikegeorgiadis4593 Pƙed 3 lety +30

    Notification Squad

  • @BenedictGS
    @BenedictGS Pƙed 3 lety +33

    developer : what make his channel special?
    me : he know how to say docker ps

  • @silver7297
    @silver7297 Pƙed 3 lety +2

    Unreal timing! Just started my first software testing job. Need to learn docker. I am SET

  • @GfoxSim
    @GfoxSim Pƙed rokem +1

    I like your practical stand point. So simple and easy to understand. Well explained.

  • @Samuftie
    @Samuftie Pƙed rokem +7

    8:09 when you stop a docker container, the data in the container is NOT LOST. You can always start the same container (not run) that has been stopped. The data is lost if you remove / destroy the container.

  • @XiaZ
    @XiaZ Pƙed 3 lety +4

    If someone wondering, You can also write the compose file in JSON for better readability.

    • @jvcmarc
      @jvcmarc Pƙed 3 lety +1

      nothing like useless quotation marks, commas and brackets that'll scream at you if your forget them

    • @XiaZ
      @XiaZ Pƙed 3 lety

      @@jvcmarc Just because you "don't know" how to use something doesn't mean it's 'useless', am I right?; 😉

    • @jvcmarc
      @jvcmarc Pƙed 3 lety

      @@XiaZ oh, I know how to use json, I'm just saying the syntax is unnecessarily complex and could be simplified
      having to put quotation marks around fields is really weird and it looks awful
      the fact that it requires a comma after every field, but refuses to compile if there is a comma after the last field is really annoying, and makes updating json frequently a bummer (even in javascript you can let the commas on the last properties)
      and brackets is really more of personal taste, brackets vs indentation and all that
      and dude, did you really get defensive over a general purpose dev technology from the 00,s? maybe chill?

    • @XiaZ
      @XiaZ Pƙed 3 lety

      @@jvcmarc To each their own I guess, it's just that I haven't got any syntax error complain in like, 5? Maybe 10 years?
      It's just how my brain work, if you forgot any small mistake, I'll complain before the complier got a chance to do. It's my work to ensure high quality code, and I enjoy the suffering of other.

    • @jvcmarc
      @jvcmarc Pƙed 3 lety

      @@XiaZ lmao, yeah, I'm somewhat new in dev, I've only been programming for 3, maybe almost 4 years
      but I'll always choose the most developer-friendly option, if I can choose not to bother with brackets, commas and quotations by switching to yaml, that's something that I would definitely consider
      json still has it's place, obviously, I would never return yaml from an API, just use it for config files locally

  • @whilelab
    @whilelab Pƙed 3 lety

    Dude the way you explain things is unbelievably straightforward, if you would create a course about it, I'm in!

  • @kamyarnemati
    @kamyarnemati Pƙed rokem

    What a video! Full overview in 10 minutes, thanks 👍

  • @conandev3710
    @conandev3710 Pƙed 2 lety +3

    Would appreciate anyone telling me the name of the intro track

  • @scottyzen88
    @scottyzen88 Pƙed 3 lety +40

    2:11 had me in stiches 😭

  • @the_real_cookiez
    @the_real_cookiez Pƙed rokem

    Thank you! After watching this video, I got promoted to a senior software engineer from a junior SWE with 5 months of experience!

  • @PavonDunbar
    @PavonDunbar Pƙed 2 lety

    Short and to the point. Thank you for sharing this. Subscribed.

  • @thedevilffs
    @thedevilffs Pƙed 3 lety +3

    A tip if you get a bit carried away and start running everything in docker, like you IDE; If you try to start a docker container within a docker container you will have some problems. "dind", docker-in.docker, came to solve this and it solves a lot of things. But if you have your IDE in docker, and want to run a docker container for say a test (like spin up a mysql-db-container so you can test your db-logic), dind is not really what you are after. What you are after in cases like these is for your container to be able to start containers on your host-docker. You do this by mounting you docker-socket as a volume to the container. Here is a nice write up about it all: jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/

  • @RedStone576
    @RedStone576 Pƙed 3 lety +3

    I jumped when he say "ps" and thinking someone is calling me

    • @usheffi
      @usheffi Pƙed 3 lety

      I usually call my cat PS...

  • @riteshzd
    @riteshzd Pƙed 3 lety +1

    Super simple and easy for beginners. Great work

  • @cameronball3998
    @cameronball3998 Pƙed 3 lety

    Thank you so much for this video. Trying to get ahead of the game as a computer science junior in college.

  • @biggsly
    @biggsly Pƙed rokem +4

    Last time I shuffle sharted at a party I was asked to leave...

    • @wingnutjtw
      @wingnutjtw Pƙed měsĂ­cem

      Last time I shuffle sharted I ruined my socks.

  • @mhmarcush
    @mhmarcush Pƙed 3 lety +1

    Oh my god I was just looking for a beginner docker tutorial from you yesterday and here it is

  • @BradenLehman
    @BradenLehman Pƙed rokem +1

    Thanks for your outstanding content! Just created and ran my first Docker image! What a rushđŸ€“đŸ”„đŸ”„

  • @glui2001
    @glui2001 Pƙed měsĂ­cem

    Great tutorial! Short, simple, to the point! Thx!

  • @boredomchess
    @boredomchess Pƙed 3 lety

    I never like or comment any post in social media but You're Just Awesome Buddy, Keep up the Work :)

  • @armandomen2944
    @armandomen2944 Pƙed 3 lety

    DUDE!!!!!!! thank you for simplifying this a bunch U da real mvp

  • @victortruong2538
    @victortruong2538 Pƙed 3 lety

    Loved that intro that's exactly the way it goes

  • @roseywinter
    @roseywinter Pƙed rokem

    Bless you for this straightforward explanation.

  • @alvintan4900
    @alvintan4900 Pƙed rokem +1

    so informative and concise, thank you fireship!!!

  • @shireefadel8064
    @shireefadel8064 Pƙed 3 lety +1

    Your channel is one of the best channels on youtube ever, and your videos are treasures

  • @kartikhira9217
    @kartikhira9217 Pƙed rokem

    Best info/tutorial on docker i have ever seen. Very Thanks man

  • @nickzhang1855
    @nickzhang1855 Pƙed rokem

    that's why I love the internet, thank you for the brief and informative tutorial🙌

  • @2janci2
    @2janci2 Pƙed rokem

    amazing tutorial, explains the basics in an understandable way

  • @alejosky
    @alejosky Pƙed 3 lety +1

    I was needing this. Thank you!

  • @LifestyleLogger
    @LifestyleLogger Pƙed 2 lety +2

    Love your videos.. no fluff, really concise, clear as a bell! Thank you!

  • @DonionTech
    @DonionTech Pƙed 3 lety

    Love this format. Glad I didn't need to sit through a 2 hour video to get the gist of things