How to copy files from local machine to docker container on windows

Use docker cp.

docker cp c:\path\to\local\file container_name:/path/to/target/dir/

If you don’t know what’s the name of the container, you can find it using:

docker ps --format "{{.Names}}"

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)