GithubHelp home page GithubHelp logo

docker-hextor's Introduction

HEXTOR Docker Image

Docker/Podman image to install and run a containerised HEXTOR on Fedora.

Useful links

Roadmap

  • Improve setup for better custom EBM configurations

Installation & running via published image

docker pull woodwardsh/hextor:latest
  • Run container:
docker run -it --rm --volume=${PWD}/shared:/home/app/hextor/shared woodwardsh/hextor:latest

# Options:
# -it       interactive && TTY (starts shell inside container)
# --rm      delete container on exit
# --volume  mount local directory inside container
  • Follow instructions in HEXTOR repo README from #3 onwards to configure and run the model. Note that a directory named shared has been mounted in the example above to allow copying over of custom files (e.g. namelists, lookup tables, etc) into the container.

Podman

  • Replace docker with podman, and note additional options to fix permissions on mounted volumes (see podman run):
podman run -it --rm -v ${PWD}/shared:/home/app/hextor/shared --security-opt label=disable woodwardsh/hextor:latest

Installation & running via locally built image

  • Clone repo & navigate inside:
git clone [email protected]:hannahwoodward/docker-hextor.git && cd docker-hextor
  • Build image from Dockerfile (~15 min):
docker build -t hextor .
  • Or, if debugging:
docker build -t hextor . --progress=plain --no-cache
  • Run locally built container:
docker run -it --rm -v ${PWD}/shared:/home/app/hextor/shared hextor

# Options:
# -it       interactive && TTY (starts shell inside container)
# --rm      delete container on exit
# -v        mount local directory inside container

Podman

  • Build with similar command, replacing docker with podman:
podman build -t hextor .
  • Run, with additional options to fix permissions on mounted volumes (see podman run):
podman run -it --rm -v ${PWD}/shared:/home/app/shared --security-opt label=disable hextor

Publishing image

docker login && docker tag hextor woodwardsh/hextor && docker push woodwardsh/hextor

docker-hextor's People

Contributors

hannahwoodward avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.