Sign inSign up

cpswarm/stage-em-ex

By cpswarm

Updated over 6 years ago

Example image used to the test a simulation running on Stage

Image
0

1.3K

cpswarm/stage-em-ex repository overview

emergency_exit

base image: cpswarm/stage-simulation-manager:2.0.15

This project provides an example about how to create a docker image that can be used to simulate and optimize it using the CPSwarm Simulation and Optimization Environment

The guide was written using Ubuntu. Ideally you should use Ubuntu 18.04 or newer, but other versions may work. Similar steps are available for other operating systems.

== 1. Setting up ==

==== Create a Docker Hub account ====

This will allow you to use the pre-made CPSwarm Docker images.

Visit https:/hub.docker.com/signup, create an account and send your Docker ID to [email protected] so he can add you to the CPSwarm organisation.

==== Install Docker Engine ====

As it may already available, test to see if Docker is installed on your system:

docker -v

Ideally you should have at least Docker version 1.13.1. Other information about your Docker configuration may be obtained using:

docker version

And:

docker info

If you do not have Docker installed, follow the guide Get Docker Engine - Community for Ubunt

==== Test Docker Engine ====

sudo docker run hello-world

Add your user to the Docker group

sudo usermod -aG docker $USER

Activate the changes to groups in the current terminal

newgrp docker

Note: to activate the changes in the system environment, log out of your session completely and then log back in.

Test Docker Engine again without sudo

docker run hello-world

Log Docker in to Docker Hub

docker login

You will have to provide your Docker Hub username, password etc.

Tag summary

Content type

Image

Digest

Size

761.4 MB

Last updated

over 6 years ago

docker pull cpswarm/stage-em-ex