Giter VIP home page Giter VIP logo

renode-docker's Introduction

Renode Docker image

This repository contains a Dockerfile for Renode, available on Docker Hub as antmicro/renode.

The image is based on Ubuntu 20.04.

Renode is installed from a release Debian package.

To build the image run docker build --build-arg userId=`id -u` --build-arg groupId=`id -g` -t renode ..

The image will start Renode in interactive mode by default.

Renode minimized container image

This Dockerfile uses a multistage build with runtime image based on mono:slim to minimize runtime container components and static image size. By default if no version is passed via --build-arg RENODE_VERSION=x.y.z it will build 1.12.0.

Note on Podman replacing Docker: https://podman.io/whatis.html

Static image size comparison:

Ubuntu base ~805 MB

Mono:slim ~311 MB

Build the image

podman build -t renode_min_test ./ -f Dockerfile.min

Run the image locally

podman run -p 1234:1234 localhost/renode_min_test

Run the image as service

podman run -d -p 1234:1234 localhost/renode_min_test

Connect to the running interactive instance of Renode

telnet localhost 1234

Build a specific version of Renode

podman build -t renode_min_test ./ -f Dockerfile.min --build-arg RENODE_VERSION=1.11.0

For more information, visit the Renode website, Renode documentation and Docker documentation.

renode-docker's People

Contributors

piotrzierhoffer avatar mateusz-holenko avatar marcaldrich avatar wojciechowskidawid avatar lgeiger avatar mgielda avatar

Watchers

 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.