Docker Crash Course #11 - Docker Compose



Hey gang, in this docker tutorial you’ll learn what Docker Compose is & how to use it to easily create images for your projects.

🐱‍💻 Access the course files on GitHub:
https://github.com/iamshaunjp/docker-crash-course

🐱‍💻 Node.js Course:
On Net Ninja Pro – https://netninja.dev/p/node-js-crash-course
On YouTube – https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp

🐱‍💻 Modern JavaScript Course:
On Net Ninja Pro – https://netninja.dev/p/modern-javascript-from-novice-to-ninja
On Udemy – https://www.thenetninja.co.uk/udemy/modern-javascript
On YouTube – https://www.youtube.com/watch?v=iWOYAxlnaww&list=PL4cUxeGkcC9haFPT7J25Q9GRB_ZkFrQAc

🐱‍💻 React Course:
On Net Ninja Pro – https://netninja.dev/p/build-websites-with-react-firebase
On Udemy – https://www.thenetninja.co.uk/udemy/react-and-firebase

🐱‍💻 VS Code – https://code.visualstudio.com/
🐱‍💻 Docker Hub – https://hub.docker.com/
🐱‍💻 Docker docs – https://docs.docker.com/

source

14 thoughts on “Docker Crash Course #11 – Docker Compose”
  1. Finished all docker videos, help me a lot, now I understand docker much better. Thank you!

  2. I've got this ERROR: for api_c Cannot start service api: error while creating mount source path '/run/desktop/mnt/host/c/Users/USUARIO/Desktop/Projects/Docker/docker-crash-course/api': mkdir /run/desktop/mnt/host/c: file exists

    My docker-compose.yaml is:
    version: '3.8'

    services:

    api:

    build: ./api

    container_name: api_c

    ports:

    – "4000:4000"

    volumes:

    – ./api:/app

    – ./app/node_module

    Has anyone got the same error?

  3. version: "4.5"

    services:

    api:

    build: ./api

    container_name: myapp_container

    ports:

    – "4000:4000"

    volumes:

    – ./api:/app

    – ./app/node_modules

    got error "Error response from daemon: invalid mount config for type "volume": invalid mount path: 'app/node_modules' mount path must be absolute" please tell me if u know ?

  4. Just watched the 11 videos of this serie about Docker. Great and very clear, thank you. Can't wait for the next one.

  5. Hey, Have you considered making a threejs tutorial series? Would love to learn it from you!

    Thank you for the tutorial btw!

  6. what is the solution to this error
    Error response from daemon: invalid mount config for type "volume": invalid mount path: 'app/node_modules' mount path must be absolute

Leave a Reply

Your email address will not be published.

Captcha loading...