Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a couple of issues with the Intro to Docker #2106

Merged
merged 1 commit into from Nov 6, 2019

Conversation

benthorner
Copy link
Contributor

No description provided.

@@ -315,7 +315,7 @@ $mac docker run -it -v content-publisher-postgres:/var/lib/postgresql/data --net
$mac docker run -it -v $PWD:/app -v content-publisher-bundle:/usr/local/bundle --privileged --network content-publisher-network -e TEST_DATABASE_URL=postgresql://postgres@postgres/content-publisher-test -e DATABASE_URL=postgresql://postgres@postgres/content-publisher content-publisher-demo bash
```

This is a lot to run in one command! Luckily, other people have had this exact problem, and came up with [docker-compose]. With 'compose', we can convert our long commands into some YAML configuration.
This is a lot to run in one command! Luckily, other people have had this exact problem, and came up with [docker-compose]. With 'compose', we can convert our long commands into some YAML configuration file called `docker-compose.yml`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This is a lot to run in one command! Luckily, other people have had this exact problem, and came up with [docker-compose]. With 'compose', we can convert our long commands into some YAML configuration file called `docker-compose.yml`.
This is a lot to run in one command! Luckily, other people have had this exact problem, and came up with [docker-compose]. With 'compose', we can convert our long commands into a YAML configuration file called `docker-compose.yml`.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops - title should have been "...and introduce another one!". Fixed.

@bevanloon bevanloon requested a deployment to govuk-developer-docs-f-pr-2106 November 6, 2019 16:36 Abandoned
@benthorner benthorner merged commit 0f69062 into master Nov 6, 2019
@benthorner benthorner deleted the fix-docker-intro-error branch November 6, 2019 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants