Changes between Version 19 and Version 20 of docker


Ignore:
Timestamp:
11/17/20 15:41:24 (5 years ago)
Author:
downs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • docker

    v19 v20  
    11== Install ISSM on Docker ==
    22
     3This guide covers installing ISSM on Docker with Matlab, though it can easily be adapted to install just ISSM.
    34
    45= Installing Matlab on Docker =
     
    910{{{
    1011#!sh
    11 mkdir issm_docker
     12mkdir issm_matlab
    1213}}}
    1314
     
    2122[[Image(shot2.png,800px)]]
    2223
    23 Click continue and you will receive a file installation key and license file. Place the license file in issm_docker/license.
     24Click continue and you will receive a file installation key and license file. Place the license file in issm_matlab.
    2425
    2526{{{
    2627#!sh
    27 cp license.lic issm_docker
     28cp license.lic issm_matlab
    2829}}}
    2930
     
    4647Next, we need all Matlab install files. Download the Matlab installer from the license center and run it. Login with your Mathworks account, accept the license agreement, then under advanced options, select "I want to download without installing." Download the files to docker_issm/matlab
    4748
    48 The issm_docker directory should now have a license file license.lic, the installer_input.txt file, and a directory called matlab with the install files. Create a dockerfile called DOCKERFILE in issm_docker with the following contents
     49The issm_matlab directory should now have a license file license.lic, the installer_input.txt file, and a directory called matlab with the install files. Create a dockerfile called DOCKERFILE in issm_matlab with the following contents
    4950
    5051{{{
     52#!sh
    5153# Use the official image as a parent image.
    5254FROM ubuntu:20.04
     
    7375}}}
    7476
     77From the docker_matlab direcotry build the Docker image.
     78
     79{{{
     80docker build -f DOCKERFILE -t ubuntu/matlab .
     81}}}
     82
    7583
    7684Upon completion, you can verify the installation by starting an interactive session and running Matlab.
     
    7886
    7987{{{
     88#!sh
    8089docker run -t -i --mac-address 02:42:ac:11:00:02 ubuntu/issm
    8190root@fe63a6d5e729:/home/issm/matlab# matlab
     
    93102>>
    94103}}}
     104
     105= Installing Matlab on Docker =