- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2020-05-07T15:28:26+00:00","default:haikikyou","haikikyou")
#author("2020-05-08T15:05:10+00:00","default:haikikyou","haikikyou")
[[日記]]
Docker For Macでコンテナエンジンが動いているホストにログインする方法について。~
以下で接続できるようだった。
#geshi(bash){{{
screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
}}}
Dockerが動いているLinux環境に入ることができた。
#geshi{{{
docker-desktop:~# __ __
Welcome to LinuxKit
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""__/ ===
{ / ===-
_____ O __/
__/
_________/
docker-desktop login: root (automatic login)
Welcome to LinuxKit!
NOTE: This system is namespaced.
The namespace you are currently in may not be the root.
System services are namespaced; to access, use `ctr -n services.linuxkit ...`
login[23765]: root login on 'ttyS0'
docker-desktop:~# ls /var/lib/docker/volumes/
166c0ffa5f01b1266234a53a74dabdd04446ebe63354653150053da266ba5675
metadata.db
docker-desktop:~#
}}}
&code(){Ctrl + a, k};で終了できる。
&label(warn){参考}; https://forums.docker.com/t/host-path-of-volume/12277/9