The docker cp command can copy data between the container and the host.
(Related introduction: docker tutorial)
Host to container:
docker cp /www 96f7f14e99ab:/www/
Container to host:
docker cp 96f7f14e99ab:/www /tmp/
The above is the detailed content of Which command can copy data between the container and the host?. For more information, please follow other related articles on the PHP Chinese website!