Skip to content

mnagaso/SPECFEM2D_on_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logo

SPECFEM2D on Docker

Docker configuration files for running SPECFEM2D on non linux system.

  1. if Docker is not installed yet, it can be downloaded from https://www.docker.com/
  2. download this repository or git clone by git clone https://github.com/mnagaso/SPECFEM2D_on_docker on cmd.
  3. cd SPECFEM2D_on_docker
  4. verify if docker daemon is running.
  5. docker-compose up -d to build the docker container.
  6. docker-compose ps shows the name and states of the docker container which is built in the former step like:
              Name                   Command    State   Ports
-------------------------------------------------------------
specfem2d_on_docker-master_spec_1   /bin/bash   Up
  1. Connect to the docker environment with docker attach (container name). Generally it is docker attach specfem2d_on_docker_spec_1 or docker attach specfem2d_on_docker-master_spec_1.
    Compiled specfem2d and source are in /specfem2d.
    Only the files put in /workspace will be shared with the host environment.
    When you erase the docker container, only the files in this /workspace will be kept and others will be lost.
  2. to leave this container, ctrl + p + q
  3. for re-attaching to this container, redo step 4.

The modifications done in the container will be reflected automatically on the local environment.

This script does not support docker toolbox (docker system working with virtual box).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published