top | item 16938796

Docker Image: Swift for TensorFlow REPL

4 points| zachgray | 7 years ago

I've created a Docker image to allow users on any OS to easily play around with Swift for TensorFlow without worrying about interfering with any existing Swift/Xcode installations or worrying about dependencies.

You can drop into the Swift + TensorFlow REPL with the following single command, provided you've got docker installed:

docker run --privileged --cap-add sys_ptrace -it --rm zachgrayio/swift-tensorflow-repl

From here, you can begin entering swift code and import and use TensorFlow! There's usage guides in the official repo, as well as in the dockerfile repo - it's here if you're curious: https://github.com/zachgrayio/swift-tensorflow-repl

1 comment

order

matheist|7 years ago

Isn't running someone else's image as a privileged container a terrible security practice? Or do I misunderstand what the --privileged flag does?