|  | @ -2,7 +2,7 @@ | |||
| [](https://www.bithound.io/github/kitematic/kitematic) | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| Kitematic is a simple application for managing Docker containers on Mac OS X and Windows (coming soon). | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,17 +1,24 @@ | |||
| FROM docs/base:latest | ||||
| MAINTAINER Sven Dowideit <SvenDowideit@docker.com> (@SvenDowideit) | ||||
| FROM docs/base:hugo | ||||
| MAINTAINER Mary Anthony <mary@docker.com> (@moxiegirl) | ||||
| 
 | ||||
| # to get the git info for this repo | ||||
| COPY . /src | ||||
| 
 | ||||
| # Reset the /docs dir so we can replace the theme meta with the new repo's git info | ||||
| #RUN git reset --hard | ||||
| COPY . /docs/content/kitematic/ | ||||
| 
 | ||||
| RUN grep '"version"' /src/package.json  | sed 's/.*"version": "\(.*\)".*/\1/' > /docs/VERSION | ||||
| COPY docs/* /docs/sources/kitematic/ | ||||
| # sadly, COPY is only recursive if you don't also need to name the destination | ||||
| COPY docs/assets/ /docs/sources/kitematic/assets/ | ||||
| COPY docs/mkdocs.yml /docs/mkdocs-dhe.yml | ||||
| 
 | ||||
| # Then build everything together, ready for mkdocs | ||||
| RUN /docs/build.sh | ||||
| # Sed to process GitHub Markdown | ||||
| # 1-2 Remove comment code from metadata block | ||||
| # 3 Remove .md extension from link text | ||||
| # 4 Change ](/ to ](/project/ in links | ||||
| # 5 Change ](word) to ](/project/word) | ||||
| # 6 Change ](../../ to ](/project/ | ||||
| # 7 Change ](../ to ](/project/word) | ||||
| #  | ||||
| #  | ||||
| RUN find /docs/content/kitematic -type f -name "*.md" -exec sed -i.old \ | ||||
|     -e '/^<!.*metadata]>/g' \ | ||||
|     -e '/^<!.*end-metadata.*>/g' \ | ||||
|     -e 's/\([(]\)\(.*\)\(\.md\)/\1\2/g' \ | ||||
|     -e 's/\(\]\)\([(]\)\(\/\)/\1\2\/kitematic\//g' \ | ||||
|     -e 's/\(\][(]\)\([A-z]*[)]\)/\]\(\/kitematic\/\2/g' \ | ||||
|     -e 's/\(\][(]\)\(\.\.\/\)/\1\/kitematic\//g' {} \; | ||||
|  |  | |||
|  | @ -0,0 +1,55 @@ | |||
| .PHONY: all binary build cross default docs docs-build docs-shell shell test test-unit test-integration test-integration-cli test-docker-py validate | ||||
| 
 | ||||
| # env vars passed through directly to Docker's build scripts
 | ||||
| # to allow things like `make DOCKER_CLIENTONLY=1 binary` easily
 | ||||
| # `docs/sources/contributing/devenvironment.md ` and `project/PACKAGERS.md` have some limited documentation of some of these
 | ||||
| DOCKER_ENVS := \
 | ||||
| 	-e BUILDFLAGS \
 | ||||
| 	-e DOCKER_CLIENTONLY \
 | ||||
| 	-e DOCKER_EXECDRIVER \
 | ||||
| 	-e DOCKER_GRAPHDRIVER \
 | ||||
| 	-e TESTDIRS \
 | ||||
| 	-e TESTFLAGS \
 | ||||
| 	-e TIMEOUT | ||||
| # note: we _cannot_ add "-e DOCKER_BUILDTAGS" here because even if it's unset in the shell, that would shadow the "ENV DOCKER_BUILDTAGS" set in our Dockerfile, which is very important for our official builds
 | ||||
| 
 | ||||
| # to allow `make DOCSDIR=docs docs-shell` (to create a bind mount in docs)
 | ||||
| DOCS_MOUNT := $(if $(DOCSDIR),-v $(CURDIR)/$(DOCSDIR):/$(DOCSDIR)) | ||||
| 
 | ||||
| # to allow `make DOCSPORT=9000 docs`
 | ||||
| DOCSPORT := 8000 | ||||
| 
 | ||||
| # Get the IP ADDRESS
 | ||||
| DOCKER_IP=$(shell python -c "import urlparse ; print urlparse.urlparse('$(DOCKER_HOST)').hostname or ''") | ||||
| HUGO_BASE_URL=$(shell test -z "$(DOCKER_IP)" && echo localhost || echo "$(DOCKER_IP)") | ||||
| HUGO_BIND_IP=0.0.0.0 | ||||
| 
 | ||||
| GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null) | ||||
| DOCKER_IMAGE := docker$(if $(GIT_BRANCH),:$(GIT_BRANCH)) | ||||
| DOCKER_DOCS_IMAGE := docs-base$(if $(GIT_BRANCH),:$(GIT_BRANCH)) | ||||
| 
 | ||||
| 
 | ||||
| DOCKER_RUN_DOCS := docker run --rm -it $(DOCS_MOUNT) -e AWS_S3_BUCKET -e NOCACHE | ||||
| 
 | ||||
| # for some docs workarounds (see below in "docs-build" target)
 | ||||
| GITCOMMIT := $(shell git rev-parse --short HEAD 2>/dev/null) | ||||
| 
 | ||||
| default: docs | ||||
| 
 | ||||
| docs: docs-build | ||||
| 	$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 -e DOCKERHOST "$(DOCKER_DOCS_IMAGE)" hugo server --port=$(DOCSPORT) --baseUrl=$(HUGO_BASE_URL) --bind=$(HUGO_BIND_IP) | ||||
| 
 | ||||
| docs-draft: docs-build | ||||
| 	$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 -e DOCKERHOST "$(DOCKER_DOCS_IMAGE)" hugo server --buildDrafts="true" --port=$(DOCSPORT) --baseUrl=$(HUGO_BASE_URL) --bind=$(HUGO_BIND_IP) | ||||
| 
 | ||||
| 
 | ||||
| docs-shell: docs-build | ||||
| 	$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)" bash | ||||
| 
 | ||||
| 
 | ||||
| docs-build: | ||||
| #	( git remote | grep -v upstream ) || git diff --name-status upstream/release..upstream/docs ./ > ./changed-files
 | ||||
| #	echo "$(GIT_BRANCH)" > GIT_BRANCH
 | ||||
| #	echo "$(AWS_S3_BUCKET)" > AWS_S3_BUCKET
 | ||||
| #	echo "$(GITCOMMIT)" > GITCOMMIT
 | ||||
| 	docker build -t "$(DOCKER_DOCS_IMAGE)" . | ||||
							
								
								
									
										15
									
								
								docs/faq.md
								
								
								
								
							
							
						
						|  | @ -1,9 +1,16 @@ | |||
| page_title: Kitematic: Frequently Asked Questions | ||||
| page_description: Documentation covering common questions users have about Kitematic | ||||
| page_keywords: docker, documentation, about, technology, kitematic, gui | ||||
| <!--[metadata]> | ||||
| +++ | ||||
| title = "Frequently Asked Questions" | ||||
| description = "Documentation covering common questions users have about Kitematic" | ||||
| keywords = ["docker, documentation, about, technology, kitematic,  gui"] | ||||
| [menu.main] | ||||
| parent="smn_workw_kitematic" | ||||
| weight=5 | ||||
| +++ | ||||
| <![end-metadata]--> | ||||
| 
 | ||||
| 
 | ||||
| # Frequently Asked Questions | ||||
| # Kitematic: Frequently Asked Questions | ||||
| 
 | ||||
| ### Is Kitematic Open Source? | ||||
| 
 | ||||
|  |  | |||
| Before Width: | Height: | Size: 162 KiB After Width: | Height: | Size: 162 KiB | 
| Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB | 
| Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 166 KiB | 
| Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB | 
| Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 112 KiB | 
| Before Width: | Height: | Size: 161 KiB After Width: | Height: | Size: 161 KiB | 
| Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 137 KiB | 
| Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 121 KiB | 
| Before Width: | Height: | Size: 405 KiB After Width: | Height: | Size: 405 KiB | 
| Before Width: | Height: | Size: 565 KiB After Width: | Height: | Size: 565 KiB | 
| Before Width: | Height: | Size: 454 KiB After Width: | Height: | Size: 454 KiB | 
| Before Width: | Height: | Size: 240 KiB After Width: | Height: | Size: 240 KiB | 
| Before Width: | Height: | Size: 556 KiB After Width: | Height: | Size: 556 KiB | 
| Before Width: | Height: | Size: 567 KiB After Width: | Height: | Size: 567 KiB | 
| Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB | 
| Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB | 
| Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 102 KiB | 
| Before Width: | Height: | Size: 162 KiB After Width: | Height: | Size: 162 KiB | 
| Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB | 
| Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 125 KiB | 
| Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB | 
| Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB | 
| Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 172 KiB | 
| Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 160 KiB | 
| Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 164 KiB | 
| Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB | 
| Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 178 KiB | 
| Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 164 KiB | 
|  | @ -1,8 +1,15 @@ | |||
| page_title: Kitematic User Guide: Intro & Overview | ||||
| page_description: Documentation that provides an overview of Kitematic and installation instructions | ||||
| page_keywords: docker, documentation, about, technology, kitematic, gui | ||||
| <!--[metadata]> | ||||
| +++ | ||||
| title = "Kitematic" | ||||
| description = "Documentation that provides an overview of Kitematic and installation instructions" | ||||
| keywords = ["docker, documentation, about, technology, kitematic,  gui"] | ||||
| [menu.main] | ||||
| parent="mn_install" | ||||
| weight=2 | ||||
| +++ | ||||
| <![end-metadata]--> | ||||
| 
 | ||||
| # Installing Kitematic | ||||
| # Kitematic: Install Kitematic | ||||
| 
 | ||||
| You install Kitematic much the same way you install any application on a Mac or | ||||
| Windows PC: download an image and run an installer. | ||||
|  | @ -19,12 +26,12 @@ Opening Kitematic for the first time sets up everything you need to run Docker | |||
| containers. If you don't already have VirtualBox installed, Kitematic will | ||||
| download and install the latest version. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| All Done! Within a minute you should be ready to start running your first | ||||
| container! | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| ## Technical Details | ||||
| 
 | ||||
|  | @ -44,4 +51,4 @@ Kitematic needs your root password for two reasons: | |||
| 
 | ||||
| ## Next Steps | ||||
| 
 | ||||
| For information about using Kitematic, take a look at the [User Guide](./userguide.md). | ||||
| For information about using Kitematic, take a look at the [User Guide](../userguide). | ||||
|  | @ -1,8 +1,15 @@ | |||
| page_title: Kitematic Known Issues | ||||
| page_description: Information about known issues in Kitematic | ||||
| page_keywords: docker, documentation, about, technology, kitematic, gui | ||||
| <!--[metadata]> | ||||
| +++ | ||||
| title = "Known Issues" | ||||
| description = "Information about known issues in Kitematic" | ||||
| keywords = ["docker, documentation, about, technology, kitematic,  gui"] | ||||
| [menu.main] | ||||
| parent="smn_workw_kitematic" | ||||
| weight=5 | ||||
| +++ | ||||
| <![end-metadata]--> | ||||
| 
 | ||||
| # Known Issues | ||||
| # Kitematic: Known Issues | ||||
| 
 | ||||
| 
 | ||||
| Kitematic is in beta, so we're still working out the kinks. The most common | ||||
|  |  | |||
|  | @ -1,6 +1,13 @@ | |||
| page_title: Kitematic Tutorial: Set up a Minecraft Server | ||||
| page_description: Tutorial demonstrating the setup of a Minecraft server using Docker and Kitematic | ||||
| page_keywords: docker, documentation, about, technology, kitematic, gui, minecraft, tutorial | ||||
| <!--[metadata]> | ||||
| +++ | ||||
| title = "Set up a Minecraft Server" | ||||
| description = "Tutorial demonstrating the setup of a Minecraft server using Docker and Kitematic" | ||||
| keywords = ["docker, documentation, about, technology, kitematic, gui, minecraft,  tutorial"] | ||||
| [menu.main] | ||||
| parent="smn_workw_kitematic" | ||||
| weight=2 | ||||
| +++ | ||||
| <![end-metadata]--> | ||||
| 
 | ||||
| # Kitematic tutorial: Set up a Minecraft server | ||||
| 
 | ||||
|  | @ -10,12 +17,12 @@ using Kitematic and Docker. | |||
| ### Create Minecraft Server Container | ||||
| 
 | ||||
| First, if you haven't yet done so, [download and start | ||||
| Kitematic](./index.md). Once installed and running, the app should look like this: | ||||
| Kitematic](./kitematic-overview.md). Once installed and running, the app should look like this: | ||||
| 
 | ||||
| Create a container from the recommended Minecraft image by clicking the "Create" | ||||
| button. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| After the image finishes downloading, you'll see the home screen for the | ||||
| Minecraft container. Your Minecraft server is now up and running inside a Docker | ||||
|  | @ -23,24 +30,24 @@ container. Note that we've marked the IP and port you can use to connect to | |||
| your Minecraft server in red (your IP and port may be different from what's | ||||
| shown). | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| ### Connect to Minecraft server | ||||
| 
 | ||||
| Open your Minecraft client, log in with your Minecraft account and click on the | ||||
| "Multiplayer" button. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| Click the "Add Server" button to add the Minecraft server you want to connect | ||||
| to. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| Fill in the "Server Address" text box with the marked IP and port from Kitematic | ||||
| you saw earlier. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| Click on the play button to connect to your Minecraft server and enjoy! | ||||
| 
 | ||||
|  | @ -51,16 +58,16 @@ Open the "data" folder from Kitematic (You'll need to "Enable all volumes to edi | |||
| files via Finder"). We use Docker Volume to map the folder from the Minecraft | ||||
| Docker container onto your computer. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| The Finder will open, allowing you to replace your current map with the new one | ||||
| you desire. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| Restart your container by clicking the "Restart" button. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| Go back to your Minecraft client and join your server. The new map should load. | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,13 +0,0 @@ | |||
| 
 | ||||
| # Kitematic | ||||
| - ['kitematic/index.md', 'Installation', 'Kitematic on OS X'] | ||||
| 
 | ||||
| - ['kitematic/userguide.md', 'User Guide', 'Kitematic'] | ||||
| 
 | ||||
| - ['kitematic/minecraft-server.md', 'Examples', 'Kitematic: Minecraft server'] | ||||
| - ['kitematic/nginx-web-server.md', 'Examples', 'Kitematic: Ngnix web server'] | ||||
| - ['kitematic/rethinkdb-dev-database.md', 'Examples', 'Kitematic: RethinkDB development database'] | ||||
| 
 | ||||
| - ['kitematic/faq.md', 'Reference', 'Kitematic: FAQ'] | ||||
| - ['kitematic/known-issues.md', 'Reference', 'Kitematic: Known issues'] | ||||
| 
 | ||||
|  | @ -1,8 +1,15 @@ | |||
| page_title: Kitematic Tutorial: Set up an Nginx web server | ||||
| page_description: Tutorial demonstrating the setup of an Nginx web server using Docker and Kitematic | ||||
| page_keywords: docker, documentation, about, technology, kitematic, gui, nginx, tutorial | ||||
| <!--[metadata]> | ||||
| +++ | ||||
| title = "Set up an Nginx web server" | ||||
| description = "Tutorial demonstrating the setup of an Nginx web server using Docker and Kitematic" | ||||
| keywords = ["docker, documentation, about, technology, kitematic, gui, nginx,  tutorial"] | ||||
| [menu.main] | ||||
| parent="smn_workw_kitematic" | ||||
| weight=1 | ||||
| +++ | ||||
| <![end-metadata]--> | ||||
| 
 | ||||
| # Serving a Static Website with Nginx | ||||
| # Kitematic Tutorial: Serving a Static Website with Nginx | ||||
| 
 | ||||
| In this tutorial, you will: | ||||
| 
 | ||||
|  | @ -13,26 +20,26 @@ In this tutorial, you will: | |||
| In this example website we'll be serving the popular 2048 game, as shown below. | ||||
| Let's get to it! | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| #### Running the Nginx Web Server Container | ||||
| 
 | ||||
| First, if you haven't yet done so, [download and start | ||||
| Kitematic](./index.md). Once installed and running, the app should look like this: | ||||
| Kitematic](./kitematic-overview.md). Once installed and running, the app should look like this: | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| Click on the _Create_ button of the `hello-world-nginx` listing as shown above. | ||||
| Kitematic will download (also known as pull the image) and then run a tiny Nginx web server | ||||
| in a Docker container, allowing it to serve website data to your Mac. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| Once it's done downloading you should see a quick preview of the example website | ||||
| that comes with the container, as shown below. Click on the preview to see the | ||||
| result in your own browser. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| **What just happened?** Kitematic downloaded the `kitematic/hello-world-nginx` | ||||
| image from the Docker Hub and then created and ran a Docker Nginx container from | ||||
|  | @ -47,12 +54,12 @@ but you can change this in the container settings. To access the files via | |||
| finder, click on the in-app folder icon for a container and "Enable all volumes | ||||
| to edit via Finder": | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| A Finder window of the folder should open containing the index.html file we see | ||||
| being served by the container. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| #### Serving Your Own Website Data | ||||
| 
 | ||||
|  | @ -61,12 +68,12 @@ files](https://github.com/gabrielecirulli/2048/archive/master.zip) for 2048, a | |||
| popular (and addictive) web-based tile game. Extract this zip file into the | ||||
| folder you just opened: | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| Switch back to Kitematic and restart the container by clicking the "Restart" | ||||
| button as shown below. Your Nginx container should now be serving 2048. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| **What just happened?** | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,8 +1,15 @@ | |||
| page_title: Kitematic Tutorial: Set up an Nginx web server | ||||
| page_description: Tutorial demonstrating the setup of an Nginx web server using Docker and Kitematic | ||||
| page_keywords: docker, documentation, about, technology, kitematic, gui, rethink, tutorial | ||||
| <!--[metadata]> | ||||
| +++ | ||||
| title = "Creating a Local RethinkDB Database for Development" | ||||
| description = "Tutorial demonstrating the setup of an RethinkDB database for development" | ||||
| keywords = ["docker, documentation, about, technology, kitematic, gui, rethink,  tutorial"] | ||||
| [menu.main] | ||||
| parent="smn_workw_kitematic" | ||||
| weight=3 | ||||
| +++ | ||||
| <![end-metadata]--> | ||||
| 
 | ||||
| # Creating a Local RethinkDB Database for Development | ||||
| # Kitematic Tutorial: Creating a Local RethinkDB Database for Development | ||||
| 
 | ||||
| In this tutorial, you will: | ||||
| 
 | ||||
|  | @ -12,22 +19,22 @@ In this tutorial, you will: | |||
| ### Setting up RethinkDB in Kitematic | ||||
| 
 | ||||
| First, if you haven't yet done so, [download and start | ||||
| Kitematic](./index.md). Once open, the app should look like | ||||
| Kitematic](./kitematic-overview.md). Once open, the app should look like | ||||
| this: | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| Click on the _Create_ button of the `rethinkdb` image listing in the recommended | ||||
| list as shown above. This will download & run a RethinkDB container within a few | ||||
| minutes. Once it's done, you'll have a local RethinkDB database up and running. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| Let's start using it to develop a node.js app. For now, let's figure out which | ||||
| IP address and port RethinkDB is listening on. To find out, click the `Settings` | ||||
| tab and then the `Ports` section: | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| You can see there that for RethinkDB port `28015`, the container is listening on | ||||
| host `192.168.99.100` and port `49154` (in this example - ports may be different | ||||
|  | @ -58,5 +65,5 @@ Now, point your browser to `http://localhost:8000`. Congratulations, you've | |||
| successfully used a RethinkDB container in Kitematic to build a real-time chat | ||||
| app. Happy coding! | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,6 +1,12 @@ | |||
| page_title: Kitematic User Guide: Intro & Overview | ||||
| page_description: Documentation that provides an overview of Kitematic and installation instructions | ||||
| page_keywords: docker, documentation, about, technology, kitematic, gui | ||||
| <!--[metadata]> | ||||
| +++ | ||||
| title = "Kitematic User Guide: Intro & Overview" | ||||
| description = "Documentation that provides an overview of Kitematic and installation instructions" | ||||
| keywords = ["docker, documentation, about, technology, kitematic,  gui"] | ||||
| [menu.main] | ||||
| parent="smn_workw_kitematic" | ||||
| +++ | ||||
| <![end-metadata]--> | ||||
| 
 | ||||
| # Kitematic user guide | ||||
| 
 | ||||
|  | @ -24,7 +30,7 @@ stream logs, and single click terminal into your Docker container all from the | |||
| GUI. | ||||
| 
 | ||||
| First, if you haven't yet done so, [download and start | ||||
| Kitematic](./index.md). | ||||
| Kitematic](./kitematic-overview.md). | ||||
| 
 | ||||
| ## Container list | ||||
| 
 | ||||
|  | @ -44,7 +50,7 @@ The "New Container" page lets you search for and select from images on the Docke | |||
| When you've found the image you want to run, you can click "Create" to pull, create, | ||||
| and run the container. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| ## Working with a container | ||||
| 
 | ||||
|  | @ -58,7 +64,7 @@ for your container - either a preview of the HTML output for a container that ha | |||
| server, the main container process' logs, and any container volumes that have been | ||||
| configured. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| The summary page will show different things depending on the image metadata. If | ||||
| a known "web" port (see below) is `EXPOSED`, then Kitematic assumes its a web page, | ||||
|  | @ -97,7 +103,7 @@ This allows you to manage files in volumes via the Finder. | |||
| Kitematic exposes a container's volume data under `~/Kitematic/<container's name>/`. | ||||
| Quick access to this folder (or directory) is available via the app: | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| > **Note**: When you "Enable all volumes to edit files in Finder", the Docker | ||||
| > container will be stopped, removed and re-created with the new `volumes` | ||||
|  | @ -114,7 +120,7 @@ already have the HTML, Javascript, and CSS for your website under | |||
| Navigate to the "Settings" tab of the container, and goto the "Volumes". This | ||||
| screen allows you to set the mappings individually. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| > **Note**: When you "Change Folders", the Docker | ||||
| > container will be stopped, removed and re-created with the new `volumes` | ||||
|  | @ -169,7 +175,7 @@ directly reflected in Kitematic. | |||
| To open a terminal via Kitematic, just press whale button at the bottom left, as | ||||
| shown below: | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| ### Example: Creating a new Redis container | ||||
| 
 | ||||
|  | @ -177,7 +183,7 @@ Start by opening a Docker-CLI ready terminal by clicking the whale button as | |||
| described above. Once the terminal opens, enter `docker run -d -P redis`. This | ||||
| will pull and run a new Redis container via the Docker CLI. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| > **Note**: If you're creating containers from the commandline, use `docker run -d` | ||||
| > so that Kitematic can re-create the container when settings are changed via the | ||||
|  | @ -185,7 +191,7 @@ will pull and run a new Redis container via the Docker CLI. | |||
| 
 | ||||
| Now, go back to Kitematic. The Redis container should now be visible. | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| ## Next Steps | ||||
| 
 | ||||
|  |  | |||