An open API service indexing awesome lists of open source software.

https://github.com/dahlitzflorian/small_c_test

Sample project to learn C in Docker
https://github.com/dahlitzflorian/small_c_test

Last synced: 7 months ago
JSON representation

Sample project to learn C in Docker

Awesome Lists containing this project

README

          

# Small C Test
## Description
This image contains smaller c-programs, which can be executed.

It was created to learn the general commands of Docker and to examine,

how to use C inside Docker wihtout needing the complete gcc image.

version 0.1

## Installation
You can get the image via Docker Hub. Simply run

```docker pull floriandahlitz/small_c_test```

## Available Commands
The following command will run a comparison between two sorting algorithms:

```docker run --rm floriandahlitz/small_c_test --comparison```

To use the case-changer run the following command with a string argument:

```docker run --rm floriandahlitz/small_c_test --case-changer "Test String"```

If you run the image without any further argument, it will execute the default hello-program written in C.