docker run --detach --interactive --tty --privileged --net=host fedora /bin/bash
docker attach $CONTAINER_ID
yum install screen
docker attach $CONTAINER_ID
screen -S test
- Detach from screen
#Mac OS X
To get started with Docker/Marathon/Mesos, you need to install a | |
new Mesos, a new Marathon, and Deimos, the bridge to Docker. | |
You'll also need Docker and the JVM. These instructions are for | |
Ubuntu 13.10. | |
## Install Mesos prerequisites | |
:; sudo apt-get update | |
:; sudo apt-get install zookeeperd default-jre python-setuptools python-protobuf curl pip | |
## Install a custom build of Mesos, build from this branch: |
sudar@sudar-desktop:~/code/watch/openchronos-ng-modular$ mspdebug rf2500 | |
MSPDebug version 0.18 - debugging tool for MSP430 MCUs | |
Copyright (C) 2009-2011 Daniel Beer <[email protected]> | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
Trying to open interface 1 on 002 | |
rf2500: warning: can't detach kernel driver: No data available | |
Initializing FET... | |
FET protocol version is 30001000 |
npm install -g yo
yo webapp
npm install grunt-contrib-jade --save-dev
FROM ubuntu:12.04 | |
MAINTAINER Nicolas BERNARD <[email protected]> | |
# Ruby | |
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C3173AA6 | |
RUN echo deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu precise main > /etc/apt/sources.list.d/brightbox.list | |
# NodeJS (Assets pipeline) | |
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C7917B12 | |
RUN echo deb http://ppa.launchpad.net/chris-lea/node.js/ubuntu precise main > /etc/apt/sources.list.d/nodejs.list |
#!/bin/sh | |
# | |
# redis - this script starts and stops the redis-server daemon | |
# | |
# chkconfig: - 85 15 | |
# description: Redis is a persistent key-value database | |
# processname: redis-server | |
# config: /etc/redis/redis.conf | |
# config: /etc/sysconfig/redis | |
# pidfile: /var/run/redis.pid |
## Prepare ################################################################### | |
# Remove RVM | |
rvm implode | |
# Ensure your homebrew is working properly and up to date | |
brew doctor | |
brew update | |
## Install ################################################################### |
#!/bin/bash -ex | |
# Git bootstrap | |
sudo apt-get update | |
sudo apt-get install -y git-core | |
# Nise BOSH | |
git clone https://github.com/nttlabs/nise_bosh.git | |
( | |
cd nise_bosh |
#!/usr/bin/env python | |
import gevent.monkey | |
gevent.monkey.patch_all() | |
import boto | |
import config | |
import gevent | |
import gevent.pool | |
import os |