首先要是 win10 ...廢話 ....哈哈 .... 其實要 Hyper-V 呀 !!! 要打開 ....那 Hyper-V Server ...就是 core 那免費的版本 不知行不行 ...哈
下載 docker for windows
安裝好會看到 docker
設定 docker
我選 D: 當 shared Drives ....會要輸入 local admin 帳號的 user/pass ....其他就看需求改 ....
開個 CMD .....
執行 docker run -d -p 80 quantumobject/docker-cacti
C:\WINDOWS\system32>docker run -d -p 80 quantumobject/docker-cacti
Unable to find image 'quantumobject/docker-cacti:latest' locally
latest: Pulling from quantumobject/docker-cacti
7dcf5a444392: Pull complete
759aa75f3cee: Pull complete
3fa871dc8a2b: Pull complete
224c42ae46e7: Pull complete
9e4d7c038c3d: Pull complete
2bef889cbb8f: Pull complete
be57bc4687e5: Pull complete
36e531fc702c: Pull complete
9ec12fdec06d: Pull complete
14e8a16f30e0: Pull complete
6da17465b304: Pull complete
e77b4f8e333e: Pull complete
f3aed9a39fa7: Pull complete
8ff0ab92e268: Pull complete
dad8388e03ab: Pull complete
48ddf4135ef1: Pull complete
098b16aa6227: Pull complete
a87aa57538b0: Pull complete
9fab3e6b6dcc: Pull complete
c39815ae7511: Pull complete
33abf1e45066: Pull complete
ed780dd9a948: Pull complete
b3c1437932b0: Pull complete
2ae15da44855: Pull complete
d840189633ec: Pull complete
7791c3a18d02: Pull complete
60eaf1edcf01: Pull complete
9a5e5180ea66: Pull complete
2addc9fe8372: Pull complete
c801ac8453bd: Pull complete
323f4869c773: Pull complete
Digest: sha256:afa9231e4375aa59f098151d1701162e099a6ecdaae07ee6544b4b6ea79ae442
Status: Downloaded newer image for quantumobject/docker-cacti:latest
2653f9ee1aadbf51c2ae2edb785d462fba79a7f38d0f9f390222026d0abb9c18
C:\WINDOWS\system32>docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2653f9ee1aad quantumobject/docker-cacti "/sbin/my_init" About a minute ago Up About a minute 161/tcp, 0.0.0.0:32769->80/tcp sharp_leakey
-------------------------------------------------------------------------------------
開網頁 .... http://127.0.0.1:32769/ 就看到 cacti 了 ...輸入 admin 資訊後
用 CMD 管理 docker 有些麻煩
下載 kitematic
下在
下載解壓縮到 C:\Program Files\Docker\Kitematic
再開一次
就看到
選 SKIP FOR NOW ...還是建個帳號登入都可 ....就可管理 docker 了
玩個 OCS
留言列表