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

    30
    33



    A complete introduction to Docker. Learn how to Dockerize a Node.js and run manage multiple containers with Docker Compose. https://fireship.io/lessons/docker-basics-tutorial-nodejs

    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 https://github.com/fireship-io/fireship.io
    Official Docker https://www.docker.com

    #LearnToCode #Docker

    Install the quiz app 🤓

    iOS https://itunes.apple.com/us/app/fireship/id1462592372?mt=8
    Android https://play.google.com/store/apps/details?id=io.fireship.quizapp

    Upgrade to Fireship PRO at https://fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.

    My VS Code Theme

    – Atom One Dark
    – vscode-icons
    – Fira Code Font

    source

    Previous articleTUTORIAL INSTALL KUBERNETES BUAT PRODUCTION
    Next articleAnsible Full Course | Ansible Tutorial For Beginners | Learn Ansible Step By Step | Simplilearn

    33 COMMENTS

    1. You're making beginners confused. This video is ful of misunderstandings
      – "Container is simply a running process" is not true. A container is an isolated group of processes isolated (aka "kernel-level virtual machine"). "Normal" processes aren't isolated, e.g. can access all user's files.
      – "Docker is a way to package software so it can run on any hardware" – is also false. Target hardware must use the same type of CPU (usually x86-64), and the same OS kernel (usually Linux, but it's also possible to build Windows Docker images). To run on any CPU, WebAssembly, JVM or scripting languages exist. Docker is a way to package to run software on any compatible CPU and OS kernel pair (usually x86-64 Linux).

    2. one question, will it be possible for us to access the data stored in the volume without running the docker image ? so my docker container stored some text files into a volume but i am not able to access that text file. i want to be able to copy that text file onto my ubuntu desktop , is that possible ?

    3. Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked:

      Who is Jesus? Not who is He to you. Rather, who is He really?

      Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth.
      On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation.

      So turn from your sins and believe in the Jesus. Believe and hope that you can be forgiven for all your sins because of His death and resurrection. He took your place in Hell, so that if you submit to Him as your Lord and God, you can be forgiven and take His place in heaven- you will be made sinnless and perfect before the Holy Father. He'll also give you a new heart and mind that can love and obey Him.

      Jesus lives so that you can have true life and freedom, and most importantly so that you can have an eternally peaceful relationship with God.

      You are dead, and Jesus is your Hope of love.

      Acts 15:11
      ”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are."
      Ephesians 1:7
      ”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace"
      Ephesians 2:8
      ”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,”

      John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?'
      1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power."
      Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."

    4. How is mounting a volume any different from copying a directory over? Is host machine a particular instance or any machine the container might run on? I think docterizing a database with static data seems like a common use case. Can you mount a sql database file and save it in the image and commit so every time you pull that image you get the database?