Coder Social home page Coder Social logo

openram-docker-image's Introduction

Docker images for OpenRAM

Installing Docker

There are a number of ways to install Docker. Pick your favorite.

NOTE: If you plan to use a VPN, do NOT use the Docker Toolbox for Mac or the docker from Macports as these require a network socket that breaks when you install some VPN software. To understand the difference, check out this page.

Running Docker

Terminal only

  • To run, mount your home directory, mount proprietary CAD tools installed in $HOME/bsoe/software:
 docker run -it -e LOCAL_USER=$USER -e LOCAL_HOME=$HOME -v $HOME:${HOME} -v $HOME/bsoe/software:/software vlsida/openram-ubuntu:latest

This is available in the script run-openram-ubuntu.sh. Remove the -v software option to not mount that.

  • To run as a generic user (with no saved home directory):
 docker run -it vlsida/openram-ubuntu:latest

With X11 Graphics

On Mac

  1. Download and install XQuartz
  2. Enable "Allow connections from network clients" in the Preferences...Security menu.
  3. Restart XQuartz for settings to take effect.
  4. An example startup script is run-openram-ubuntu-osx-x11.sh.

On PC

  1. Download and install VcXsrv
  2. Start VcXsrv with the "Disable access control" option checked
  3. Optionally save the configuration for later use.
  4. An example powershell startup script is run-openram-ubuntu.ps1.

Updating the image

If there are updates to the image, you can pull a new one from the hub with:

docker pull vlsida/openram-ubuntu:latest

This is not automatically done, so if you have a problem, make sure you are up-to-date.

Building your own image

You can run the build script to build a local image:

./build.sh

If you want to change things, modify the openram-ubuntu/Dockerfile and let me know what should be fixed.

Licenses

If you need licenses, you must set up the campus Cisco Anyconnect VPN on your host computer (i.e. laptop, not the docker image) to campus:

https://its.ucsc.edu/vpn/installation.html

One option that works quite well is to use OpenConnect, the open source alternative to Cisco Anyconnect. You can run this with:

openconnect vpn.ucsc.edu -u [cruzid]

Double check that you are NOT using the Docker Toolbox. If any environment variables are set when you run

env | grep DOCKER

then you are and your VPN may break the connection to the docker VM.

openram-docker-image's People

Contributors

jcirimel avatar mguthaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.