Running Your First Container

InstructorJoel Lord

Share this video with your friends

Send Tweet

In this lesson, you will learn how to start basic containers and how to use them in your day to day developer life. You will also learn how to start a database container that can be used with the demo application for this course.

Ajinkya
~ 3 years ago

Running this cmd on windows gives error

docker run -v "$(pwd):\app" alpine cat "/app/hello.txt"

Error > cat: can't open '/app/hello.txt': No such file or directory

But I did run following fine.

❯❯❯ cat .\hello.txt
Hello from container x
Ajinkya
~ 3 years ago

Windows docker command FIX:

docker run -it -v "$(pwd):/app" alpine cat "app/hello.txt"