Code Monkey home page Code Monkey logo

rospod's Introduction

rospod

๐Ÿ“ฆ โค๏ธ ๐Ÿค–

Run ROS Melodic / Ubuntu Bionic within podman on any platform with a shared username, home directory, and X11.

This enables you to build and run a persistent ROS Melodic workspace as long as you can run oci images.

Note that any changes made outside of your home directory from within the container environment will not persist. If you want to add additional binary packages or remove some of the dependencies that are currently installed, change the Dockerfile accordingly and rebuild.

For more info on podman see here: https://podman.io/

Install podman and buildah

Install podman and buildah on your system.

Build

This will create the image with your user/group ID and home directory.

./build

Run

This will start the oci image with podman.

./start

This will connect a shell to the podman image

./connect

The container will use your own shell configuration. To provide different settings inside and outside of the container, you can make use of the $CONTAINER environment variable that is set to 1 inside of the image. To make use of this put something like

if [[ -n "$CONTAINER" ]]; then
    # Settings for inside of the docker
    export PROMPT="PODMAN $PROMPT"  # Prefix the prompt with PODMAN
    # source workspace, etc.
else
    # Settings for outside of the container
fi

in your .bashrc or .zshrc.

rospod's People

Contributors

timonegk avatar ftsell avatar jbohren avatar

Watchers

James Cloos 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.