-
Notifications
You must be signed in to change notification settings - Fork 61
/
index.html
215 lines (209 loc) · 8.58 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="Crane is a Docker orchestration tool similar to Docker Compose with extra features and ultra-fast bind-mounts on macOS.">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="apple-touch-icon" sizes="57x57" href="apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Bungee|Lato" rel="stylesheet">
<style>
body {
font-family: 'Lato', sans-serif;
}
.crane-header {
font-family: 'Bungee', cursive;
}
.nav-item {
text-transform: uppercase;
}
.nav-link.active {
color: #292b2c;
}
.code-block {
background: #f7f7f9;
color: #bd4147;
padding: .2rem .4rem;
border-radius: .25rem;
margin-bottom: 15px;
}
.code-block pre {
color: #bd4147;
margin-bottom: 3px;
}
table.table-condensed td, table.table-condensed th {
padding: 0.25rem 0.75rem 0.25rem 0;
}
ul.ticks li:before {
content: "\2714";
margin-right: 10px;
}
ul.ticks li {
list-style: none;
margin: 10px 0;
font-size: 120%;
}
.stripe-button-el span {
height: 50px !important;
line-height: 50px !important;
padding: 0 20px !important;
}
h3 {
margin-top: 60px;
}
code {
white-space: nowrap;
}
pre code {
white-space: pre-wrap;
}
#docs-navigation {
list-style: none;
background: #F5F4F0;
border-radius: 5px;
padding: 2px 0;
float: right;
}
#docs-navigation > li {
font-weight: bold;
border-bottom: 1px solid #fff;
padding: 3px 15px;
}
#docs-navigation > li ul {
font-weight: normal;
padding-left: 25px;
}
</style>
<title>Crane</title>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-93517487-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<style>
.container {
width: 900px;
}
</style>
<div class="container" style="margin-top: 10px">
<ul class="nav justify-content-end">
<li class="nav-item">
<a class="nav-link" href="installation.html">Installation</a>
</li>
<li class="nav-item">
<a class="nav-link" href="getting-started.html">Getting Started</a>
</li>
<li class="nav-item">
<a class="nav-link" href="docs.html">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/michaelsauter/crane">Github</a>
</li>
</ul>
<div class="row">
<div class="col" style="margin-bottom: 40px">
<img src="images/logo.png" style="width: 200px; height: 200px; border-radius: 50%; border-color: #75C9B1; border-style: solid; border-width: 8px; float: left; margin-right: 40px" />
<h1 style="font: 80px 'Bungee', cursive; margin-top: 50px; margin-bottom: 0; line-height: 80px">CRANE</h1>
<span style="margin-left: 5px">Lift containers with ease</span>
</div>
</div>
</div><div class="container-fluid" style="background: #F5F4F0; padding-top: 20px; padding-bottom: 20px">
<div class="container">
<div class="row">
<div class="col">
Crane is a Docker orchestration tool similar to Docker Compose with extra features.<br>
For example, it offers ultra-fast, dependency-free bind-mounts for Docker on Mac, with a <a href="index.html#speed-comparison"><b>speed boost of at least 10x</b></a>!
</div>
</div>
</div>
</div>
<div class="container" style="padding-top: 40px">
<div class="row" style="margin-top: 10px">
<div class="col">
<h5>Docker Compose compatible</h5>
<p>Crane reads <code>docker-compose.yml</code> files. Alternatively, you can use Crane's own configuration format, which maps more closely to Docker's run command to make it even easier. The CLI interface has similar commands than docker-compose, but they differ slightly in semantics. Read the <a href="docs-compatibility.html">compatibility notes</a> for more information.</p>
</div>
<div class="col">
<h5>Better for development</h5>
<p>Instead of detaching from all containers and interleaving the logs (like <code>docker-compose up</code> does), Crane attaches to the target and detaches from the dependencies by default. As a result, using interactive debugging is possible, e.g. if you are using Ruby, <code>pry</code> or <code>byebug</code> work as expected.</p>
</div>
</div>
<div class="row" style="margin-top: 40px; margin-bottom: 40px">
<div class="col">
<h5>Groups</h5>
<p>Instead of targeting all configured containers or a single one, Crane supports targeting a group of containers. This works by clustering containers in the configuration into <a href="docs-config.html#groups">groups</a>.</p>
</div>
<div class="col">
<h5>Custom Commands</h5>
<p><a href="docs-cli.html#custom-commands">Pre-define commands</a> that you run over and over again (like running a server, tests or REPLs) in the configuration. Now they are only a <code>crane cmd</code> away — a perfectly streamlined Docker workflow.</p>
</div>
<div class="col">
<h5>Hooks</h5>
<p>Scripts can be run before or after key lifecycle events of containers. They are run synchronously on the host where Crane is installed and may even interrupt the flow by returning a non-zero status. <a href="docs-advanced.html#hooks">Read more</a>.</p>
</div>
</div>
</div>
<div class="container-fluid" style="background: #F5F4F0; padding-top: 30px; padding-bottom: 20px">
<a name="speed-comparison"></a>
<div class="container">
<div class="row">
<div class="col-6">
<h5>Accelerated Mounts with Docker for Mac</h5>
<p>For example, booting a vanilla Rails app on a mid-2014 2,6GHz Macbook Pro:</p>
<table class="table table-condensed">
<tbody>
<tr>
<th scope="row">Default</th>
<td width="100%">> 60s</td>
</tr>
<tr>
<th scope="row">With Docker <code>:cached</code> option</th>
<td>> 15s</td>
</tr>
<tr>
<th scope="row">Using Crane</th>
<td>~ 1.5s</td>
</tr>
</tbody>
</table>
<p>Typically, the speed gains are even higher in real-world scenarios.</p>
</div>
<div class="col-6">
<h5>How do accelerated mounts work?</h5>
<p>Crane integrates Unison, a file synchronizer. It is executed as a container, so you don't have to install and configure anything.</p>
<p>Every accelerated bind-mount is synced in both ways (unlike rsync!) via a Docker volume to the mounting container.</p>
<p>Crane does this automatically in the background and adjusts the container config on the fly - you shouldn't even notice! Except the speed of course ...</p>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row" style="margin-top: 40px; margin-bottom: 40px">
<div class="col">
Copyright © 2020 Michael Sauter
</div>
</div>
</div>
</body>
</html>