5
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

Dockerでswift repl起動時にerrorになった場合の対処法

Dockerコンテナ上でSwiftを試してみようとREPLを起動してみたら

error: failed to launch REPL process: process launch failed: 'A' packet returned an error: 8

というerrorを吐いたので、その対策。

docker run時に --privileged オプションをつけると良いらしい。

docker run --privileged -it foo/bar

--privileged を調べてみると、いろいろと機能が開放されるオプションらしい。
https://docs.docker.com/engine/reference/commandline/run/#full-container-capabilities-privileged

参考
https://github.com/swiftdocker/docker-swift/issues/9

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
5
Help us understand the problem. What are the problem?