3 Amazing New Docker Features Explained | Build Cloud, Scout, Init

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ค. 2024
  • It's been a while since I've used Docker, so recently when I opened up Docker Desktop to do some work and installed the latest updates, I was greeted by some new features: Docker Build Cloud, Docker Scout, and Docker init.
    In this video, I'll dive into the particulars of each of these new features and we'll also get hands-on and see how they work in action.
    Learn more about Docker Build Cloud: dockr.ly/49W1tiJ
    Learn more about Docker Scout: dockr.ly/3vmEi1N
    And thanks Docker for sponsoring this video!
    Timestamp
    00:00 Intro
    01:12 Docker Build Cloud
    02:50 Docker Build Cloud setup
    04:20 Docker Build Cloud hands-on
    05:33 Docker build vs buildX
    07:00 Docker init
    07:38 Docker init hands-on
    09:00 Docker Scout
    Join the Imposter Devs community! - imposterdevs.com
    Updated Udemy deals - travis.media/udemy
    Learn Docker in 1 Hour - • Docker For Beginners: ...
    ** My Coding Blueprints **
    Learn to Code Web Developer Blueprint - geni.us/HoswN2
    AWS/Python Blueprint - geni.us/yGlFaRe - FREE
    Both FREE in the Travis Media Community - imposterdevs.com
    My microphone - amzn.to/3sAwyrH
    ** I write regularly **
    travis.media
    ** FREE EBOOKS **
    📘 travis.media/ebooks
    LET'S CONNECT!
    📰 LinkedIn ➔ / travisdotmedia
    🐦 Twitter ➔ / travisdotmedia
    🙋🏼‍♂️ Website ➔ travis.media
    #docker #dockervideos #dockertutorial
    ** Some of the links in this description may be affiliate links that I may get a little cut of. Thank you.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 5

  • @zxyi9090
    @zxyi9090 2 หลายเดือนก่อน +1

    Yes, very useful and thanks for highlighting

  • @shaunrosario112
    @shaunrosario112 2 หลายเดือนก่อน

    Hey Travis,sorry I know this might not be video topic related but if I am planning to start of with Kubernetes after having watched your videos for the prerequisites// Can I start with the Certified Kubernetes Administrator (CKA) with Practice Tests in Udemy or do I HAVE to start with the beginners course before that?
    Great video btw!!

  • @abdirahmanabdullahi5471
    @abdirahmanabdullahi5471 2 หลายเดือนก่อน

    Is there a way to create docker image for existing postgres database with its data? I have spring boot application that works with postgres. I want to create an image using with using docker compose file.

    • @FranckJacottin
      @FranckJacottin หลายเดือนก่อน

      1 - SQL Dump
      pg_dump -U your_username -h localhost -p 5432 your_database_name > your_database_dump_file
      2 - Create a Dockerfile from your DB
      FROM postgres:latest
      ENV POSTGRES_USER your_username
      ENV POSTGRES_PASSWORD your_password
      ENV POSTGRES_DB your_database_name
      COPY ./your_database_dump_file /docker-entrypoint-initdb.d/
      3 - create a compose file
      version: '3'
      services:
      postgres:
      build:
      context: .
      dockerfile: Dockerfile
      ports:
      - "5432:5432"
      environment:
      POSTGRES_USER: your_username
      POSTGRES_PASSWORD: your_password
      POSTGRES_DB: your_database_name
      spring-boot-app:
      image: your_spring_boot_app_image
      ports:
      - "8080:8080"
      depends_on:
      - postgres
      4 - run
      docker-compose up --build

    • @abdirahmanabdullahi5471
      @abdirahmanabdullahi5471 หลายเดือนก่อน

      @@FranckJacottin Thanks. It finally worked after struggle.