2.4 KiB
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
LabInstance phpcli
This variant contains the PHP CLI tool with default mods. If you need a web server, this is probably not the image you are looking for. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as a base from which to build other images.
It also is the only variant which contains the php-cgi binary, which is likely necessary for some things like PPM.
PHP is a general-purpose scripting language geared towards web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994. The PHP reference implementation is now produced by The PHP Group. PHP originally stood for Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor.
Quickstart
This is a quickstart guide of howto use this
Note that this image is somewhat heavy (~1GB). It can take some time to build the Instance. If you think the proccess is frosen you can reload the page in your Browser
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.
- 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