QEMUのユーザーモードをDockerコンテナ上で使おうとした際に発生した問題のメモ。 環境 Debian wheezy on Docker QEMUインストール時に発生するエラー バイナリで提供されているユーザーモードQEMUをインストールする。このパッケージは、インストール時にbinfmt(ネイティブとは異なるアーキテクチャ向けのバイナリをQEMU経由で実行するために必要)の設定を行ってくれる。しかしDockerコンテナ上では、その際に行われるmountコマンドの実行がエラー終了する。 (docker host)$ docker run -it <image> /bin/bash (docker container)$ apt-get install -y qemu-user-static ... mount: permission denied update-binfmts: war