4 ms·
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
- matheist 8y agoIsn't running someone else's image as a privileged container a terrible security practice? Or do I misunderstand what the --privileged flag does?