9
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Posted at

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

9
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?