Memento memo.

Today I Learned.

Dockerのコンテナ内部からコンテナidを取得する

cat /etc/hostname すればいけた

# cat /etc/hostname
7b9fc2c0bc4f