You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
zeus 5857289391 add rcloca 3 years ago
docs add docs 3 years ago
images add 3 years ago
install add rcloca 3 years ago
LICENSE Initial commit 3 years ago
Makefile add 3 years ago
README.md add 3 years ago
check-open.sh add 3 years ago

README.md

Swarmlab is a collection of services that aims to

  • provide teachers and professors with online remote tools to do their lessons

  • give students the opportunity to study real life examples in their chosen area of expertise

  • allow developers to fully test and debug their applications and provide POC’s

  • or you simply want to use a Application (in a microservices-based architecture)

Swarmlab provides you with all the required tools, tools to teach work or try out demos in a completely virtual environment.

More info: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/index.html

alt text

LabInstance Alpine 3.13

You have to have a base image on which you will install all of your library and code to create your own custom image. you can use any base image like debian, centos,ubuntu.But you will be certainly biased to any image which is small in size and which has all the repo link. And there come alpine.

From alpine description

Alpine Linux is a Linux distribution built around musl libc and BusyBox. The image is only 5 MB in size and has access to a package repository that is much more complete than other BusyBox based images. This makes Alpine Linux a great image base for utilities and even production applications.

For comparison, here’s how Alpine compares to other popular distributions of Linux:

DISTRIBUTION VERSION SIZE

Debian Jessie 123MB

CentOS 7 193MB

Fedora 25 231MB

Ubuntu 16.04 118MB

Alpine 3.* 4.98MB

Difference in size. Alpine is about 30x smaller than Debian.

Is there a best practice on setting up glibc on docker alpine linux base image?

apk add gcompat

https://pkgs.alpinelinux.org/package/edge/community/x86_64/gcompat

Quickstart

This is a quickstart guide of howto use this

Default Configuration

  • Working Directory

/home/docker/project

  • Default user

docker

  • Default password

docker

  • Default password4root

pass

RUN INSTANCE

Swarmlab services can be run in different ways.

CLI

git clone ...

cd [DIRECTORY]

help

make help

create service

make create

start service

make start

stop service

make stop

list service

make list

clean service

make clean