Masterclass: Test Environments Management with Docker - Further Discussion

So on The Club, we have a whole post for those interested in getting started with Docker

Links from the chat:
VSCode plugin is just ā€œDockerā€ - publisher is Microsoft VS Marketplace Link: Docker - Visual Studio Marketplace

Questions from the chat:

  1. Can you two docker containers : one jenkins and other automated test casesā€¦ work together?
  2. In a Dev environment, how do you get these Dockerfiles to be based on the latest version of the code? How does it know what to base it on (repo/branch/version)? Surely you donā€™t have to hand edit the Dockerfile after each build

Questions we didnā€™t get to on the evening:

  1. What limitations of Docker have you encountered in practice? In what situations would you consider a different approach?
  2. Do you recommend docker-compose over kubernetes?
  3. Any tips or tricks you can suggest in setting up test data in docker container ?
  4. Can you (easily) inject secrets into a container? ā€” Putting passwords etc. in a (potentially public) git repo is not recommended.
  5. Docker vs LXD?
  6. Isnā€™t there any dependency for any application based on the type of containers it is being stacked- e.g.Google docker, Azure docker? Reason being we do have native platform dependent applications. How is that handled in docker?
  7. Iā€™ve seen docker have issues with volumes acting slow when you map big folders. Have you come across this yourself?
  8. How can docker help in test automation in a DevOps env.? How can it be integrated in a testing pipeline
  9. Do you have a wishlist of enhancements/changes to Docker? If so, whatā€™s on it?
  10. In a Dev environment, how do you get these Dockerfiles to be based on the latest version of the code? How does it know what to base it on (repo/branch/version)? Surely you donā€™t have to hand edit the Dockerfile after each build
  11. Is it bad to have docker running in WSL on Windows?
  12. Is docker used in production? How?
    12.1 Answer within the chat: Google: 'EVERYTHING at Google runs in a container' ā€¢ The Register