2
1

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.

Swift Windows OS Dockerで簡単環境起動

Posted at

概要

Windows環境でSwiftをやりたい。
DockerでSwift環境を簡易に起動。

前提

Dockerがインストールされている事。

Swift Docker Official Images

https://hub.docker.com/_/swift

実行

Pull

docker pull swift

REPL起動

docker run --privileged --cap-add sys_ptrace -it --rm swift swift

私の環境では「--privileged」を追加しないとエラーになりました。

コンテナ起動

docker run --privileged -it --name swiftfun swift /bin/bash

「--privileged」を追加しないと、REPL起動でエラーになります。
起動した環境には「vi」は入っていません。

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?