Using port mapping enables you to access services running inside your Experiment remotely. For example, you might want to run TensorBoard, a simple flask web server, or even SSH directly into your running job instance.
You can easily open ports into your Gradient Experiment using the
If you are familiar with the Docker syntax for port forwarding, it is helpful to note that we use a similar form of:
For example, if you are running TensorBoard within your image and want to expose port 8888 to the world, you would just pass the following:
gradient experiment run ... --ports 8888:8888