News for hackers. Stuff that matters.

Docker Image: Swift for TensorFlow REPL

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 | 4 points | on HN )
Re:Docker Image: Swift for TensorFlow REPL by matheist on Friday April 27, 2018 @03:24AM (#16939024)
Isn't running someone else's image as a privileged container a terrible security practice? Or do I misunderstand what the --privileged flag does?