Docker 101: Building your own LAMP Stack (Old)

preview_player
Показать описание

New to Docker?

Here is a tutorial about how to create your very own LAMP Stack:
- Ubuntu
- Apache2
- MySQL
- PHP

Steps:
- Build Docker image
- Run Container
- Connecting to container

###
More Docker Videos:
Рекомендации по теме
Комментарии
Автор

Exactly what I was looking for. Thank you. Was originally running docker with powershell and forgot I could set it up with WSL

stormrockwell
Автор

The problem with \r lines is because on your local machine you should've change the line ending from CRLF to LF. You can see that at the bottom right of your editor.
About the problem with your volume binding I assume it's because you're using some linux way to represent directories on Windows machine, which might be not visible for docker. If you try to put the original Windows path, probably will work correctly. Also, you can use VOLUME instruction and try to use relative path.

relaxo
Автор

Why everyone showing docker on Ubuntu and not on MacOS? I didnt find a single video where they installed it on MacOS.

jasper