Permalink
Browse files
Update developing-with-docker-containers.html
- Loading branch information...
Showing
with
3 additions
and
3 deletions.
-
+3
−3
html/developing-with-docker-containers.html
|
@@ -111,7 +111,7 @@ <h3>Mounting Code Directory as Data Volume</h3> |
|
|
|
@user = User.new |
|
|
|
end |
|
|
|
|
|
|
|
# Restart the |
|
|
|
# Restart the web server |
|
|
|
root@104e1b560d48:/app# /app/bin/start-server |
|
|
|
</code></pre> |
|
|
|
|
|
@@ -122,11 +122,11 @@ <h3>Mounting Code Directory as Data Volume</h3> |
|
|
|
root@104e1b560d48:/app# exit |
|
|
|
|
|
|
|
# Remove the Rails Application Container |
|
|
|
Host% docker rmi web |
|
|
|
Host% docker rm web |
|
|
|
</code></pre></li> |
|
|
|
<li><p> Stop the <code>db</code> container.</p> |
|
|
|
|
|
|
|
<pre><code># Stop the PostgreSQL Database Container |
|
|
|
Host% docker stop db |
|
|
|
</code></pre></li> |
|
|
|
</ol>
|
|
|
|
</ol> |
0 comments on commit
c736463