[Docker] Docker Volume


  • docker volume share with host

    docker run --name website -v C:\Docker\website:/usr/share/nginx/html -d -p 3000:80 nginx

  • docker volume share between containers

    docker run --name website-copy --volumes-from website -d -p 8081:80 nginx

#docker






你可能感興趣的文章

[Day04] Currying, Pointfree, Higher Order Function

[Day04] Currying, Pointfree, Higher Order Function

MTR04_0922

MTR04_0922

GraphQL(1) - 簡介 & 語法

GraphQL(1) - 簡介 & 語法






留言討論