You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My take would be that simple soos command will do following
Docker Toolbox
On OS X or Win will check for presence of docker-machine command and if it is missing it will show message
It doesn't seems that you have docker-machine command reachable within command line. Make sure you have installed Docker Toolbox from https://www.docker.com/docker-toolbox and check that 'docker-machine' command is working from command line
Docker Machine Instance
On OS X or Win check if default docker machine is running if not try to start it with message explaining what is happening.
Soos can't reach instance of docker-machine called default on your system and it's trying to start is with command 'docker-machine start default'
if command will fail let's print
Soos failed to start docker-machine called default with command 'docker-machine start default' please run this command manually and try to find out what is wrong.
Docker Environment
On OS X or Win check if DOCKER_HOST environment variable is present if not run eval command specific for the platform e.g. '$(docker-machine env default)'.
Init Dockerfile
Check if Dockerfile is missing then show message
Docker file is missing do you want me to set it up for you? ( Y / n )
Y => init
n => exit
Run Container
Check if process exits with missing image on local or on hub.docker.com if yes ask user
It seems that image for your project doesn't exists yet, do you want me to create it? ( Y / n )
Y => build && run
n => exit
This way all the new user has to do is to simply run soos command which will guide him thru whole process of setting up environment.
Make Soos usage much more simpler for users, so they don't have to deal with docker specifics from the beginning.
Let's take a tour of developer who want's to start developing his own project using Soos
Install Docker Toolbox ( Win / OS X )
User needs docker tooling in order to build and run docker containers.
Ensure Docker Environment ( Win / OS X )
We need to make sure that
2.1. Docker machine is running
2.2. Docker environment variables are set
2.3. Docker daemon is reachable
Add Dockerfile to project folder
Necessary receipt for docker command to build image from
Build Image
We need to build image before we can start creating container form it
Run Container
Start container with predefined command in Dockerfile
CI Build Image
We need to setup TravisCI to build image for each commit so other developers can benefit from Soos
This is quite lot of steps to be done specifically 1-4 so first timers can get confused. We need to make this process much simpler.
The text was updated successfully, but these errors were encountered: