Skip to content

instainer/instainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

instainer

###Run any Docker container on the cloud instantly

Join the chat at https://gitter.im/instainer/instainer

####ROADMAP - UPDATED 5 Oct 2015

  • Early access invitations have sent.
  • Upload Dockerfile to build custom image
  • Push custom images to Instainer
  • Make Permanent Container & Delete Container from Instainer CLI
  • Custom subdomains support (ie. karla.instainer.io -> REVERSE PROXY -> YOURCONTAINER:32102)
  • Do you have any idea? Please share it with us.

#What is instainer?

Instainer is a Docker container hosting service which allows run instantly any Docker container on the cloud with Heroku-style Git deployment.

We believe in KISS. When we started migration to Docker in our company, we felt that something was still missing. Docker brought amazing capabilities to our DevOps team, but still there wasn't any service to click and run any Docker containers instantly. We are doers. We developed Instainer for engineers who want to run Docker containers on the cloud instantly. Your feedbacks & thoughts are really welcome. Thanks in advance!

#Quick Start ####Open beta.instainer.com, click any container to run.

Click any container

####After a few seconds you can access your container's information

Container Details

#Alternative methods to running container on Instainer

####From command line (Mac & Linux & Windows supported)

You can find Instainer CLI Installation Guide from here.

After installing instainer-cli and configuring it you can type on command line to run an nginx container.

./instainer run -v /usr/share/nginx/html nginx 

For more information about instainer-cli commands you can find Instainer CLI Commands documentation from here.

####REST API Make GET request to REST API

curl -i -H "API-KEY: XXXXXXXXX" \
-X POST http://beta.instainer.com/backend/api/container/run?image=nginx

You can find Instainer REST API documentation from here

####From your favourite CI tool

travis-ci, bamboo or jenkins -- We are working on amazing plugins, follow us for updates.

#How can I access to my container’s files?

instainer provides Heroku-style Git deployment for your containers. After running your container; instainer automatically creates Git repository for you and pushes your container’s data into this repository. You can easily clone and change your data using Git. For more information you can look Access Container Data topic from here.

#Limits The only limitation is that non-permanent containers keep alive for 15 minutes! If you want to create permanent containers please sign in with GitHub. Permanent containers will also terminate if you don't use instainer in 48 hours.

#How can I bash to my container? If you want to access your container’s bash you have two different ways;

  • Web browser; To access your container's bash you should Sign in with GitHub to Instainer. After login Click My Containers from top menu then use Open Terminal button on My Containers page.

Bash Container Terminal

####It can also run nyancat :)

Terminal

  • Command line;

    ./instainer bash CONTAINER_ID

#How can I access the container’s logs?

You can use Show Logs link on My Containers panel; Instainer REST API or Instainer CLI

####After signing in with Github you can find My Containers menu top of the page

My Containers Show logs Show logs

REST API

REST API Get Logs

Command Line

Instainer CLI tool for getting logs.

#Can I use docker-compose.yml?

Yes! You can use docker-compose section on beta.instainer.com to run your compose file or you can use Instainer CLI or Instainer REST API.

#Documentation You can check documentation from https://github.com/instainer/instainer/wiki

#”I have a question.” Please feel free to use GITTER room your questions. Join the chat at https://gitter.im/instainer/instainer

#Add "Deploy now on Instainer" ribbon to your project's page

If you have a project with n-step installation guide and you want to provide something useable to your visitors in a few seconds you can use "Deploy now on Instainer" ribbon. After creating a Docker image for your project, you can add these lines to your web page and your visitors easily run your Docker image on Instainer.

###"Deploy now on Instainer" Ribbon Ribbon

<a href="http://beta.instainer.com/?deploy=YOUR_IMAGE_NAME">
<img style="position: absolute; top: 0; right: 0; border: 0;" 
     src="http://beta.instainer.com/img/ribon.png"></a>

###"Deploy now on Instainer" Button Button

<a href="http://beta.instainer.com/?deploy=YOUR_IMAGE_NAME">
<img src="http://beta.instainer.com/img/deploy.png"></a>

#Contribution Please feel free to create issue and open pull request. Also mention us on Twitter and we will tell you to follow which rabbit! @instainer