= LabInstance alpine314!
  

==  Quickstart

This is a quickstart guide of howto use this *LabInstance*

===  Default Configuration 

- Working Directory

> /home/docker/project

- Default user

> docker

- Default password

> docker

- Default password4root

> pass


== LabInstance Info

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


== More info

https://alpinelinux.org/[^]


== RUN INSTANCE

Swarmlab services can be run in different ways. 

- You can run them **through the swarmlab hybrid environment** (http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html)
- or use them individually at will on the **command line of your system**


=== 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










