Docker CP: Copy Files to Container
The docker cp command can be used to copy files into a Docker container.
For example, to copy the local file file.txt to the directory /path/to/destination in a container named container1, you can use the following command:
docker cp file.txt container1:/path/to/destination
This will copy the file.txt file to the /path/to/destination directory in the container1 container.