Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

londoncalling
Copy link
Contributor

@londoncalling londoncalling commented Sep 27, 2017

What's changed

  • Added back in docker-machine scp and docker-machine ssh commands in part 5 to get the the data persistence step with the redis service to work. With the current Compose file, when you run the docker stack deploy command on the local host with myvm1 active, Docker looks for the ~./data directory on the local host, not on the remote machine, myvm1.

  • Added an override to the redis command in the Compose file to get the data to persist.

Related

Addresses #4723, but we will leave the issue open to further research getting this to work without scp if possible.

Related PR is #4675

Reviewers

@shin- @friism @johndmulhausen @jasonmevans @mstanleyjones

Signed-off-by: Victoria Bialas [email protected]

@londoncalling londoncalling merged commit 410ed46 into docker:master Sep 27, 2017
image: dockersamples/visualizer:stable
ports:
- "8080:8080"
- "8080:8080":
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this colon intentional?

Choose a reason for hiding this comment

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

I can't speak for whether it is intentional but I can confirm that it doesn't actually break YAML.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's not intentional, I believe. I'll remove it. Working with @shin- on this problem today.

@londoncalling londoncalling mentioned this pull request Sep 27, 2017
@londoncalling londoncalling deleted the get-started-redis-errors branch September 28, 2017 21:41
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.

3 participants