Mac directory mapped to docker container ubuntu14.04

1. Map the directory in the Mac to the Ubuntu container under Docker, so that you can operate the files on the Mac in the Ubuntu container
# docker run -it -v /Users/xxx/working:/home ubuntu:14.04

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324815728&siteId=291194637