Use the -d flag with run command.
EG:
eval $(docker-machine env feature)
docker-compose -f delivery.docker-compose.yml run -d rails rake db:seed
| // How use super like in OOP with a Prototypal Language : | |
| !function(){ | |
| 'use strict'; | |
| console.log("Starting"); | |
| var Feline = function(name, race) { | |
| if ( !(this instanceof Feline) ) return; | |
| this.name = name; | |
| this.race = race || "Feline" | |
| console.log("Feline DNA new say : A new " + this.race + " is born : " + this.name); |
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| ) | |
| type Foo struct { | |
| FirstName string `tag_name:"tag 1"` | |
| LastName string `tag_name:"tag 2"` |
| /* Exercise: Loops and Functions #43 */ | |
| package main | |
| import ( | |
| "fmt" | |
| "math" | |
| ) | |
| func Sqrt(x float64) float64 { | |
| z := float64(2.) |
| class Foo | |
| attr_reader :bar | |
| def initialize | |
| @bar = 123 | |
| ObjectSpace.define_finalizer( self, self.class.finalize(bar) ) | |
| end | |
| def self.finalize(bar) | |
| proc { puts "DESTROY OBJECT #{bar}" } | |
| end |
| type ( | |
| // BuoyCondition contains information for an individual station. | |
| BuoyCondition struct { | |
| WindSpeed float64 `bson:"wind_speed_milehour"` | |
| WindDirection int `bson:"wind_direction_degnorth"` | |
| WindGust float64 `bson:"gust_wind_speed_milehour"` | |
| } | |
| // BuoyLocation contains the buoy's location. | |
| BuoyLocation struct { |
| # Jekyll archive page generator with pagination. | |
| # | |
| # Based on the category generator from | |
| # http://recursive-design.com/projects/jekyll-plugins/, | |
| # which is copyright (c) 2010 Dave Perrett, | |
| # http://recursive-design.com/ and is licensed under the MIT | |
| # license (http://www.opensource.org/licenses/mit-license.php), and | |
| # on the pagination code from Jekyll itself. | |
| # | |
| # This code is copyright (c) 2011 Benjamin Curtis, and is licensed |
As configured in my dotfiles.
start new:
tmux
start new with session name: