English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
docker cp :Used for data copy between container and host.
docker cp [OPTIONS] CONTAINER:SRC_PATH DEST_PATH|-
docker cp [OPTIONS] SRC_PATH|- CONTAINER:DEST_PATH
OPTIONS Description:
-L :Keep the links in the source and target
the www directory on the host/www/w3codebox directory to the container96f7f14e99ab's/.
docker cp /www/w3codebox 96f7f14e99ab:/www/
the www directory on the host/www/w3codebox directory to the container96f7f14e99in ab, rename the directory to www.
docker cp /www/w3codebox 96f7f14e99ab:/www
container96f7f14e99ab's/www directory from the host to/in the tmp directory.
docker cp 96f7f14e99ab:/www /tmp/