Skip to content

Update Docker example to use current best practices#8731

Merged
jsignell merged 2 commits intodask:mainfrom
jacobtomlinson:update-docker-example
Feb 16, 2022
Merged

Update Docker example to use current best practices#8731
jsignell merged 2 commits intodask:mainfrom
jacobtomlinson:update-docker-example

Conversation

@jacobtomlinson
Copy link
Copy Markdown
Member

@jacobtomlinson jacobtomlinson commented Feb 16, 2022

Closes #8704
Supersedes #8729

This PR updates the Dask Docker example to follow best practices and also to work on all platforms as the previous host based example was linux only.

  • Containers are now created on their own network
  • Workers and notebook use DNS to connect to the scheduler by name
  • Added Python snippet for connecting within Jupyter
  • Added port exposure for Jupyter and Dask dashboard

Copy link
Copy Markdown
Member

@jsignell jsignell left a comment

Choose a reason for hiding this comment

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

Thanks @jacobtomlinson!

@jsignell jsignell merged commit fc2e151 into dask:main Feb 16, 2022
@jsignell jsignell added the documentation Improve or add to documentation label Feb 16, 2022
@jacobtomlinson jacobtomlinson deleted the update-docker-example branch February 16, 2022 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improve or add to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker example not working on macOS and Windows

2 participants