Sign inSign up

andrewhills/psopt

By andrewhills

Updated almost 7 years ago

Docker container for PSOPT optimisation tool

Image
0

141

andrewhills/psopt repository overview

PSOPT in Docker

PSOPT in Docker is a container that contains the PSOPT optimisation tool environment. This recreates the development environment required to build PSOPT and its examples. This DockerFile is maintained on GitHub at ahills60/psopt-docker.

Build notes

Building PSOPT within Docker requires additional memory resource. This means that automated builds with DockerHub are prone to build failure due to resource limitations (this occurs in a g++ call resulting in early termination of the process). For this reason, PSOPT containers are built locally and pushed to DockerHub.

Recommended memory assignment:

  • At least 4 GB of memory.
  • At least 2 GB of swap.

Binding

It is suggested that you create a mount point from your local machine to /root/psopt. This will provide access to all of the psopt source files and examples, enabling development to talk place within this area.

Notes

This image uses the root user and is thus this comes with the caveat that this should not be deployed in secure environments without appropriate security considerations. It is also easy to destroy the environment. A workaround would be to create a new user and use this user to build within the PSOPT environment.

Tag summary

Content type

Image

Digest

Size

629.6 MB

Last updated

almost 7 years ago

docker pull andrewhills/psopt