Giter Club home page Giter Club logo

hello-arm's Introduction

hello-arm

Overview

This project demonstrates hello world style Docker examples which print platform information.

There are multiple examples created with different programming languges.

The examples show that software development for Arm now covers cloud, desktop, and IoT. Containers provide the build once, run anywhere benefit across a variety of Arm platforms. It's also fun to see the output of each of the programs on various Arm platforms.

For example, running the C example on my Pinebook Pro Arm laptop generates:

Hello, architecture from uname is Linux buildkitsandbox 5.7.0-3-MANJARO-ARM #1 SMP Sun Jul 5 18:30:55 UTC 2020 aarch64 Linux
64-bit userspace

Build and run

First, you'll need to install Docker if you haven't done that already. You can learn how to install Docker at http://docs.docker.com/engine/installation/.

Next, you need to build a Docker image. You can do this by running the ./build.sh command.

Finally, run the container to print the platform output. You can do this wth the ./run.sh command. Some examples require a browser to open a specific port to see the message.

There is a README file for each example.

Using AWS EC2 instances with Graviton processors

AWS is an easy way to get started on an Arm machine. The examples run on any size instance, even the smallest a1.medium EC2 instance.

To use the examples on AWS Graviton processors running Ubuntu Linux there is a simple ec2-setup.sh script which can be run to install Docker and setup ssh access.

hello-arm's People

Contributors

jasonrandrews avatar

Forkers

dprasad96

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.