Learn Docker in 12 Minutes 🐳

Share
Embed
  • Published on Sep 6, 2016
  • Docker is all the rage right now. In 12 minutes I'll give you comprehensive introduction to docker, covering:
    1. What is Docker
    2. Virtual Machines vs. Docker
    3. Introduction to Dockerfiles, images and containers
    4. The Docker Hub
    5. Writing a Dockerfile
    6. Building an image
    7. Running a container
    8. Mounting volumes
    9. One process per container
    Download Docker for Mac
    docs.docker.com/docker-for-mac/
    Download Docker for Windows
    docs.docker.com/docker-for-windows/
    Support this channel at www.patreon.com/jakewright
    ----------------------------------------
    MORE TUTORIALS
    Docker Compose in 12 Minutes: tvclip.biz/video/Qw9zlE3t8Ko/video.html
    Deploy Docker Containers tvclip.biz/video/F82K07NmRpk/video.html
    Learn HTML in 12 Minutes: tvclip.biz/video/bWPMSSsVdPk/video.html
    Learn CSS in 12 Minutes: tvclip.biz/video/0afZj1G0BIE/video.html
    Learn JavaScript in 12 Minutes: tvclip.biz/video/Ukg_U3CnJWI/video.html
    Learn PHP in 15 Minutes: tvclip.biz/video/ZdP0KM49IVk/video.html
    ----------------------------------------
    I deploy Docker containers to a Digital Ocean VPS. Get $10 credit with this link: m.do.co/c/791d593997b2
    ----------------------------------------
    SUBSCRIBE FOR MORE
    tvclip.biz/user/jaketvee
    TWITTER jakewrightuk
    FACEBOOK jakewrightuk
    INSTAGRAM jakewrightuk
    jakewright.net
  • Science & TechnologyScience & Technology

Comments • 1 154

  • John
    John 2 days ago

    A question: Does Docker use any of the Virtual Machine hardware extensions to improve performance and task isolation?

  • STFN
    STFN 4 days ago

    Hi Jake, a great video, just subscribed to your channel! There is one thing that confuses me, though. When you mounted the volume in CLI, it overwrites what is in the second line of the Dockerfile, doesn’t it? Instead of copying the src folder, it mounts it to /var/www/html. Am I understanding this right?

  • TwstedTV
    TwstedTV 8 days ago

    OMG - I thought docker was going to be like building a rocket with 20 rocket scientists.
    Best 12 minutes of my life, I learned something. I will definitely look into getting into Docker in the near future. Thanks for the cool video..... subbed. :)

  • Gbenga Olubitan
    Gbenga Olubitan 8 days ago

    I came accros this video while looking for how to docker for development of Navison(D365)

  • Uros Bernik
    Uros Bernik 9 days ago

    Nice and clean, good job!

  • B W
    B W 10 days ago

    Thank you.

  • Da Moley
    Da Moley 12 days ago

    This is cute hunny. Thanks for this

    • Da Moley
      Da Moley 12 days ago

      I'm doing a jellyfin on my nas

  • Banasree Ghosh
    Banasree Ghosh 12 days ago

    Great

  • Pierre Chevalier
    Pierre Chevalier 13 days ago

    Excellent! Thanks a million!

  • Phill Alexakis
    Phill Alexakis 15 days ago

    what if u wanna build a RestAPI in docker? how would u do it?

  • Shivam Jha
    Shivam Jha 15 days ago

    2:44 who'll mention Linux eh?

  • Christian Mügge
    Christian Mügge 15 days ago

    A really good explained demonstration of Docker. Thanks Jake, keep up good work.

  • Anda Cristea
    Anda Cristea 15 days ago

    Hello,
    I am trying your commands and my localhost is not working. Can help me?

  • Joseph
    Joseph 16 days ago

    You're handwriting is fucking wonderful! I'm going to have to try writing like that...

  • Crazy Redd
    Crazy Redd 19 days ago

    It just works? Thanks Todd

  • EB
    EB 20 days ago

    You are great. This is one of the best tutorials i found, thanks.
    Can i help you to add spanish subtitles?

  • Christopher Fisher
    Christopher Fisher 28 days ago

    This was an amazing video. Thank you.

  • Deddy Dayag
    Deddy Dayag 28 days ago

    What is that buttery accent????
    OMG!

  • Derrick Johnson
    Derrick Johnson 29 days ago

    Can you please update this video?

  • Abu Musa
    Abu Musa 29 days ago

    after all this hard work, i found this very relaxing tvclip.biz/video/_8ApgH7828w/video.html

  • o k
    o k Month ago

    Okay. I have NO fucking idea how to use docker and I am now pissed off trying to get things working. LMAO, fuck it i'm here. Heyy this is pretty cool

  • Ciao!
    Ciao! Month ago

    What if I get the below error statement within the browser, any idea why?
    Forbidden
    You don't have permission to access / on this server.
    Apache/2.4.38 (Debian) Server at 192.168.99.105 Port 80

  • Siddharatha Dhumale

    You are Excellent in explaining the things...

  • Noah Marino
    Noah Marino Month ago

    If containers are meant to run a single process, why not just compile a loop and run it as a process so it wont end when you start other apps?

  • android replay
    android replay Month ago

    run docker and saying apache doesnt recognize the command etc etc

  • ooo ooo
    ooo ooo Month ago

    Why use Docker Toolbox... Docker Desktop enables HyperV which makes it non compatible with using vmware or virtualbox on the same machine. So if you don't care using a VM Docker Desktop is nicer. Myself I had to go to Docker Toolbox because I need VMs which don't work as soon as HyperV is enabled. This is for Windows. I don't know for Linux or MacOS.

  • Koray Tugay
    Koray Tugay Month ago +1

    The EXPOSE instruction is not needed when you run your image with -p :. The EXPOSE only comes in handy when you spin up the container with -P.

  • Blaine DeYoung
    Blaine DeYoung Month ago

    I found this video because StaPH-B, a group of bioinformaticians, linked this video in one of their discussion videos.

  • Aldo Amanullah
    Aldo Amanullah Month ago +1

    KONTOL BRUH

  • Lee Fogel
    Lee Fogel Month ago

    I found this video by searching for "docker" on TVclip. You explained the core concepts very clearly and succinctly. You provided a useful example that was simple enough; but, not overly simplistic. Well done!

  • Jonathan Sias
    Jonathan Sias Month ago

    Great work ! I finally understand how it works.

  • Johan Dahlin
    Johan Dahlin Month ago

    Very nicely explained. 👍

  • Celebrity Tales
    Celebrity Tales Month ago

    learn more shivab.com/blog/docker/2019/01/10/introduction-to-docker-and-containerization/

  • Bald Mike
    Bald Mike Month ago +2

    That was perfect, thank you.

  • Damien W
    Damien W Month ago

    That -v trick is exactly what I needed! No more waiting an hour to find I made a stupid mistake!

  • Samip Jain
    Samip Jain Month ago

    Great video on Docker. Are you planning to launch a video on Kubernetes?

  • Philip M. Turner
    Philip M. Turner Month ago

    Thank you! On your point at 1:39, I’d like to understand more about what these features of the Unix file system are that allows these containers to exist. Also, is there a good/preferred book anyone has on docker/containers?

  • masood hussain
    masood hussain Month ago

    I took an effort to login and like , because you deserve it, seriously awesome place to revise and learn straight to the point learning thank you for this video

  • digigoliath
    digigoliath Month ago

    Clear & Concise. Nice!!

  • SpeedyWinds
    SpeedyWinds Month ago

    Thumbs up to your channel for AWESOME content! Thank you so much for making this video.

  • Federico Peralta
    Federico Peralta Month ago

    You are awesome!

  • Syed Kashif Naqvi
    Syed Kashif Naqvi Month ago

    show me error in ubuntu 18.04
    Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post %2Fvar%2Frun%2Fdocker.sock/v1.40/containers/create: dial unix /var/run/docker.sock: connect: permission denied.

    when i type

    docker run -p 80:80 hello-world

  • Amir Almusawi
    Amir Almusawi Month ago

    Thanks for the great explanation!

  • megasuperlexa2
    megasuperlexa2 2 months ago

    so docker does NOT use hypervisors? so how was it possible to run debian-based apache server on your macos?

  • Jeff Pearson
    Jeff Pearson 2 months ago +1

    Yeah. I’m deff subscribing. Best explanation channel I’ve seen in a while.

  • Hlumela Bongobi
    Hlumela Bongobi 2 months ago

    Jesus! Probably the best docker explanation I've watched. Well done!

  • Hosein Latifi
    Hosein Latifi 2 months ago

    what an awesome video!!

  • Viorel Mocanu
    Viorel Mocanu 2 months ago

    Hi, Jake! Just discovered your channel, you do fantastic work, your clarity and step by step process is great! :)

    I do have one question: what advice would you give to someone (like me) considering starting a TVclip channel now, with 100% free tutorials in design, front end and digital marketing? Anything special I should do or pay attention to before I get started?

    Thanks a lot and keep up the great work!

  • RazieL
    RazieL 2 months ago

    i searched for "docker" on youtube and it showed me this video, i heard about docker from colleagues

  • Reyaz Ah. Beigh
    Reyaz Ah. Beigh 2 months ago

    Thanks Jake!

  • LucKie
    LucKie 2 months ago

    Kubernetes in 12 minutes.

  • zemiorka
    zemiorka 2 months ago

    Excellent

  • shalu garg
    shalu garg 2 months ago

    Awesome video.Short enough to start with docker.Thank you

  • UJ32
    UJ32 2 months ago

    It saved my day. Thank you!

  • Kerberos Swift
    Kerberos Swift 2 months ago

    fuckin uk accent(PIG)

  • thedoremaq
    thedoremaq 2 months ago

    very clear and concise summary of the absolute basics. thanks!

  • BASMedia 46b
    BASMedia 46b 2 months ago

    Hey Jake - just wanted to express my thanks for this video! I'm just starting out with Docker and this is the first video (of many that I've watched) that has really been nice and clear about the basics. It has been very helpful - many thanks!!!
    Looking forward to more videos from you on the subject.

  • Brutal Butler
    Brutal Butler 2 months ago

    luckily this was in 2016 and now we can automate our builds without the manual chore of typing it up every time

  • Łukasz Chojnacki
    Łukasz Chojnacki 2 months ago

    Great movie and easy to understand. Thanks!

  • Xenos Xenos
    Xenos Xenos 2 months ago

    Why using Dockerfile instead of docker compose ? I'm asking this question simply because you're running a pre built image and you could do exactly the same thing on with docker compose. I also saw that you were mounting a volume to the docker container aswell as exposing 80 port to your container in ur command but does that not conflict with your image that already have port 80 and your index.php port ? Thanks in advance and very good video