New user trying to use w/ Docker

Hello!

I am trying to get OpenMC set up and able to run examples such as this.

However, after trying to build and run an image, I get this error:

Could I get some guidance ?

Thanks.

I think your issue might be that you’re using the OpenMC docker container to run a Jupyter notebook when you likely want to use it to run a python file. The docker container comes ready for you to run something like python run_my_openmc_model.py, but extra steps may be necessary to run it as a Jupyter notebook. Docker isn’t necessarily meant to be run with a GUI like how Jupyter notebooks locally typically are, so maybe try converting your ipynb file to a simpler py file. The main difference is that python scripts don’t show output like Jupyter notebooks do, so you’ll either need to use print() or save images to file to confirm your outputs are as expected.

Maybe someone with more Jupyter experience has the final few steps if you wanted to try and use OpenMC’s docker install with the notebook format.