Skip to content

How to expose the source code inside the docker container to the host? #28

@HuyNguyen206

Description

@HuyNguyen206

After following the instruction, I can access the web in localhost but I can't see the source code in the host machine. I can only access it inside the PHP docker container.

So how to expose the source code inside the docker container to the host? So I can edit it in development env?
image

Usually, I use the volume like this in PHP container - .:/opt/drupal, but it doesn't work in this case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions