File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1+ ** docker-compose run web <<commands >>** runs commands in web service container.
2+ ** docker-compose run web bin/rails c** runs rails console in web service container.
3+ ** docker-compose run web bash** runs bash to interact with the directory inside
4+ the web service container.
5+ ** docker-compose build** build image when ` Dockerfile ` changes or when you want to update or add gems.
6+ ** docker-compose up** starts up containers.
7+ ** docker-compose up -d** starts up containers ** in the background** .
8+ ** docker-compose down** stops containers.
9+ ** docker-compose ps** lists container processes, container name, container id.
10+ ** docker attach <<contianer_name>>** attaches to the named container to interact
11+ with ` binding.pry ` . ` Control + p ` , ` Control + q ` , detach from container.
Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ span "Have a look at the "
44a 'general Glossary', href: '#general-glossary'
55span ", the "
66a 'Command Line Glossary', href: '#command-line-glossary'
7- span ", and the "
7+ span ", the "
88a 'Ruby and Rails Glossary', href: '#ruby-and-rails-glossary'
9+ span ", and the "
10+ a 'Docker Glossary', href: '#docker-glossary'
911span "."
1012
1113a name: 'general-glossary'
@@ -22,3 +24,8 @@ a name: 'ruby-and-rails-glossary'
2224situation "Ruby and Rails Glossary" do
2325 insert '../installfest/ruby-and-rails-glossary'
2426end
27+
28+ a name: 'docker-glossary'
29+ situation "Docker Glossary" do
30+ insert 'docker-glossary'
31+ end
You can’t perform that action at this time.
0 commit comments