Docker-compose tutorial

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 102

  • @starryblue4
    @starryblue4 2 роки тому +5

    All your video tutorials are so good, you explain all the functions of each line or code, etc.Thank you.

  • @deepakjoyjose8189
    @deepakjoyjose8189 Рік тому +2

    This is the first time I am watching one of your videos. I loved how you explained the basics of docker compose in such a short amount of time. Thanks a lot for the amazing content!

  • @faizmk
    @faizmk 3 роки тому +2

    Ive playing with docker for past 1 month. This video definitely had help me understand better what those lines means. Now i know how to create docker compose for docker container that the dev team doesn't provide one. Appreciate your video

  • @robertjyllhed3245
    @robertjyllhed3245 10 місяців тому

    This was a really great video explaining better than I've seen before. Thank you for sharing and keep sharing. Love your content!

  • @mathewkargarzadeh3158
    @mathewkargarzadeh3158 4 роки тому +3

    Simple and Understandable docker-compose explanation. Excellent illustration !!. Thanks and gratitude to you !!

  • @krebs4817
    @krebs4817 3 роки тому +12

    need a petition to have this man replace Mr Tiebe

  • @mohbkhaled6051
    @mohbkhaled6051 2 роки тому

    This channel is a real discovery thank you for this amazing explanation.

  • @GorkemYildirim
    @GorkemYildirim 4 роки тому

    I first used this method after version "3" yaml files were not accepted by portainer stacks without switching to swarm mode. Super useful additional information in this video.

  • @philmennenoh5946
    @philmennenoh5946 8 місяців тому

    Thanks for your time.

  • @ilya0x
    @ilya0x Рік тому

    Awesome videos! Thank you for all your content! Learning Docker with you has been lots of fun :) ...and I'm very jealous of the look of your desktop! That menu up top and that data breach background...love it!

    • @ilya0x
      @ilya0x Рік тому

      Could you possibly do a video on how to setup windows to look like yours?🤓

    • @christianlempa
      @christianlempa  Рік тому

      Thank you so much!

    • @christianlempa
      @christianlempa  Рік тому +1

      I've done some videos, maybe take a look at the YT search :) but as I'm not using windows anymore, there is nothing new I can show :D I'm sorry

  • @linonator
    @linonator 3 роки тому +6

    I think the -d is to run the container in Detached mode, so that it runs in the background

  • @kumaryendamuri1599
    @kumaryendamuri1599 2 роки тому

    Very understandable explanation.

  • @mal-avcisi9783
    @mal-avcisi9783 Рік тому

    this guy knows his shiat. bravo !

  • @jaggyjut
    @jaggyjut 3 роки тому

    superb. Thank you for creating this tutorial.

  • @SebastianMBraun
    @SebastianMBraun Рік тому

    I was looking for some tips how to setup a new network with self-defined IP-addresses with docker compose.

  • @ionution2009
    @ionution2009 2 роки тому

    Thank you, just beginner, I have more to learning ! :)

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w 2 роки тому

    Great example

  • @JeanFrancoCaringi
    @JeanFrancoCaringi 4 роки тому +1

    Thank you very much!
    Just what I was looking for!
    Gracias!

    • @christianlempa
      @christianlempa  4 роки тому

      Thank you! I'm glad it was helpful to you.

  • @bikushah9958
    @bikushah9958 3 роки тому

    Man,you made it so simple!! Thanks

    • @christianlempa
      @christianlempa  3 роки тому

      Glad it helped!

    • @MR-vj8dn
      @MR-vj8dn 9 місяців тому

      Would you care to explain what it was you found difficult to understand before?

  • @Ghaleon15
    @Ghaleon15 2 роки тому

    Nice video, dude!

  • @richi_409
    @richi_409 Рік тому

    What is the best way to install docker compose?
    I installed docker compose with using the docker repository (docker-compose-plugin), with that method I just get the Version v2.14.1.
    I searched in the docker documentation how to update/upgrade to a newer version, it just says to remove and install the docker-compose-plugin again.
    So how do I get ther Version 3? Is that just possible if you use another method of installing docker compose?

  • @mattjacobwilliams1721
    @mattjacobwilliams1721 3 роки тому +17

    Ik kijk dit voor besturingssystemen 2,
    Tiebe thanks voor niks zeker?

  • @jordancode
    @jordancode Рік тому

    Great video

  • @kribo9604
    @kribo9604 2 роки тому

    Nice tut, looking for a docker setup for PHP?

  • @autobahnmensch
    @autobahnmensch 2 роки тому

    Really 😃 great!

  • @sanderaerts1178
    @sanderaerts1178 2 роки тому

    U the best broo

  • @JeanFrancoCaringi
    @JeanFrancoCaringi 4 роки тому

    I hope you post more videos about docker compose

    • @christianlempa
      @christianlempa  4 роки тому

      Yea, I've planned some more videos about it and also how to deploy them so stay tuned 😁👍

  • @sagarnakrani2962
    @sagarnakrani2962 4 роки тому +1

    Simple and understandable explanation, actually I was looking for an explanation of "links" in compose file.
    Could you please make another video on installing Magento? It would be really helpful for another developer also.
    Thanks.

    • @christianlempa
      @christianlempa  4 роки тому

      Thanks 😊 I will check when I could add this to a video, will take some time. Cheers

  • @codewithvikasmishra
    @codewithvikasmishra 3 роки тому

    May you please elaborate more on docker compose like what is the use of below:-
    Version: '3.7'
    services:
    Jwt_API:
    build:
    Context: .
    dockerfile: Dockerfile
    environment:
    - Any name
    Image: jwt_API:latest
    Container_name: jwt_API
    Volumes:
    - ".:/qbc"
    Ports:
    -"anyport"
    Why we have used build, context, dockerfile, containername etc above.

    • @christianlempa
      @christianlempa  3 роки тому

      This is when you want to build your own docker images. I will make some tutorials on that in the future, but I don't know when.

  • @vvagw5825
    @vvagw5825 3 роки тому

    Спасибо! Ты лучший!

  • @PROGamersf36
    @PROGamersf36 2 роки тому

    really good video! thank you !

  • @mazwenb5783
    @mazwenb5783 4 роки тому

    Hi, can I install docker on a subfolder? The main subdomain that my team is using has already installed with Wordpress. So, we want to install a subfolder inside that subdomain. The subfolder will then contains a PHP based application that uses a database. Where to create a database from there? Please let me know. I am new to this. I usually use just basic shared hosting.

  • @wtc7862
    @wtc7862 3 роки тому

    [docker_entrypoint:crit] [pid 1] DOCKER: mkdir /data/etc: permission denied :D DOCKER ist so GEIL

  • @anoopramachandran5197
    @anoopramachandran5197 4 роки тому

    Great video! this was really helpful!

  • @sudhadotsudha
    @sudhadotsudha 3 роки тому

    Very Nice , I am trying to create a container with OMV docker images. please suggest

    • @christianlempa
      @christianlempa  3 роки тому

      it's hard to find the issue here in the comment section, so why don't you come to our Discord Community, and post some details about your setup, maybe somebody can help you out ;)

    • @sudhadotsudha
      @sudhadotsudha 2 роки тому

      @@christianlempa sure, do you have any forum or link to join the discord community

  • @beesalniroula6146
    @beesalniroula6146 4 роки тому

    thankyou for such a nice and clear tutorial 👍👍 could you please make another video on deploying laravel or any other framework app using dockerfile.

    • @christianlempa
      @christianlempa  4 роки тому

      Thank you for the kind words 😀, more docker content is planned, thanks for the good suggestion!

  • @ohiasdxfcghbljokasdjhnfvaw4ehr
    @ohiasdxfcghbljokasdjhnfvaw4ehr 3 роки тому

    pywintypes.error: (2, 'CreateFile', 'The system cannot find the file specified.')
    During handling of the above exception, another exception occurred:

  • @jonysnm
    @jonysnm 3 роки тому

    Thanks! Great video!

  • @rudysal1429
    @rudysal1429 Рік тому

    Tabs or spaces , how many do you need per indentation?

    • @christianlempa
      @christianlempa  Рік тому

      I'm sure you can use whatever you want, you just need to stick with one scheme.

  • @Amin-g7i3u
    @Amin-g7i3u 3 роки тому

    Hi, thanks for your videos, they are awesome. I have a question in general about docker-compose...if I want to spin up two different Nextcloud instances that have access to the same database application but different DB names, how would that look? Can I just add this to the compose file with different names?
    Thanks a lot!!

    • @christianlempa
      @christianlempa  3 роки тому +2

      Sure, that will work. You need to make sure that both nextcloud instances can connect to the same database and then configure separate databases in the config.

  • @haryan1627
    @haryan1627 3 роки тому +1

    Great!
    can you share with us with your workspace theme?))

  • @madhavimourya1157
    @madhavimourya1157 2 роки тому

    Like the background theme,please share the music

  • @SveinWisnaes
    @SveinWisnaes 3 роки тому

    Do you need Docker-compose to run a docker container? I managed to get Portainer up and running without installing Docker-compose. Could that be something new?
    Also heard that Kubernetes now comes with a very minimal way of running Docker...

    • @christianlempa
      @christianlempa  3 роки тому

      You Don't need docker compose to run containers, it just simplify deploying multiple containers. Kubernetes has their own implementation of a container runtime, they used docker in the past.

    • @crazythings9330
      @crazythings9330 3 роки тому

      @@christianlempa right now i'm working as Noc engineer , now i want to pursue devops tools ,can i learn docker and kubernates ,please suggest me tools to crack a job as devops engineer

  • @rishiraj2548
    @rishiraj2548 2 роки тому

    Great

  • @krishnadasari9863
    @krishnadasari9863 4 роки тому

    Hi Chritsian
    how can we build a customized image using docker-compose? I have my dockerfile using docker-compose need to build image

    • @christianlempa
      @christianlempa  4 роки тому +1

      You need to specify a "build" attribute that points to the folder of where your Dockerfile and the source files are located

  • @georgetarida5653
    @georgetarida5653 4 роки тому

    What OS are you using? Can you make a video about your software setup?

    • @christianlempa
      @christianlempa  4 роки тому

      I'm using Windows 10 and yeah I probably will do a video about my complete setup, so thank's for this suggestion :)

  • @aaronjameshorne
    @aaronjameshorne 4 роки тому

    Good video.

  • @hangchen
    @hangchen 3 роки тому

    Subscribed!!

  • @TradersTradingEdge
    @TradersTradingEdge 2 роки тому

    Hi Christian. Thanks for the awesome work you do!
    I followed many of your videos, and they helped me a lot.
    If you have time to answer my question, that would be great, because I can't find a solution for my problem in Docker-Swarm.
    I've installed "Ghost CMS" on Docker Swarm, along with NGINX-Proxy-Manager. Everything works as expected, except the Ghost CMS.
    When I deploy Ghost as a service with multiple instances, I can't login. I get to the login page, put the user & pw and hit enter, and I'l get thrown back to the login screen once again. This does not happen if I deploy Ghost with only 1 instance, either as a service or container. I have a NFS share for the Worker Nodes & the Master, so they can access all the same data of Ghost.
    Do you have any Idea for me Christian? ;-)
    Have a great day and continue your fantastic job here on YT.
    Thanks cheers...

    • @christianlempa
      @christianlempa  2 роки тому

      Thank you so much! ;) TBH, I haven't used Docker Swarm before so there is not much I can tell you unfortunately :(

  • @CristianMolina
    @CristianMolina 3 роки тому

    When you specify version "3" will it use 3.0 or latest "3.x" ?

    • @christianlempa
      @christianlempa  3 роки тому +1

      It will always use the latest version you have currently installed, you only need to specify 3.x for backwards compatibility.

  • @ernesto_quintana
    @ernesto_quintana 4 роки тому

    Could you go over the namespaces and cgroups ?

    • @christianlempa
      @christianlempa  4 роки тому

      that's a good suggestion to cover it on a future video! I will add this to my backlog 😉

  • @trueskvoz
    @trueskvoz 4 роки тому

    hm what about docker-sync ?

  • @ForrestRhoads
    @ForrestRhoads 4 роки тому

    Christian, I think your videos are great, and I enjoy your choice of topics. But why do you caption your channel, "Become an IT Professional?" I am a 71 year old retired lawyer, and I have no interest in becoming an IT Professional. However, I think your tutorials and coverage are great, and I will use many of the things you've taught me on my home network. Vielen Dank für die ausgezeichnete Informationen!

    • @christianlempa
      @christianlempa  4 роки тому

      Thank you so much for the kind words 🥰, this is a good question! That's why most of my content is geared towards common IT industry standards and also educates people in what they need in IT jobs. I also want to cover more IT career tips and certs. However, some of my viewers are not working in IT but use this for home lab and projects, which is totally fine and I also want to do more content for home labs as well. But I get it, the caption is something I probably will remove from my branding in the future. Vielen Dank für deine tollen Kommentar!

  • @richardfearing4751
    @richardfearing4751 4 роки тому +1

    The background music was an issue. I wouldn't recommend playing music during class while the professor is teaching.

    • @rahul_bali
      @rahul_bali 4 роки тому

      classical very light music is fine, but not upbeat.

  • @ohiasdxfcghbljokasdjhnfvaw4ehr
    @ohiasdxfcghbljokasdjhnfvaw4ehr 3 роки тому

    dont ask me to subscribe before I've watched your video.

  • @GamerForeverChannel
    @GamerForeverChannel Рік тому

    which os did you use?

  • @otegaawharitoma5340
    @otegaawharitoma5340 2 роки тому

    i can hardly see it pls change the back ground

  • @moin6747
    @moin6747 3 роки тому

    great video. the lighting in your face looks a bit off

  • @luizgoss
    @luizgoss 4 роки тому

    sorry, not works-> sudo: docker-compose: comand not found

    • @christianlempa
      @christianlempa  4 роки тому

      You may check out the docu about how to install docker-compose. Alternatively try out installing it via package management.

  • @SebastianMBraun
    @SebastianMBraun Рік тому

    MariaDB > MySQL

  • @easyvideott7505
    @easyvideott7505 Рік тому

    docker commands should not be run as root user!