I think the build environment was set up with that configured: https://github.com/apache/beam/blob/40326dd0a2a1c9b5dcbbcd6486a43e3875a64a43/start-build-env.sh#L110 Could there be something about your environment preventing that from working?
Brian On Fri, May 21, 2021 at 3:34 AM Gleb Kanterov <g...@spotify.com> wrote: > Is it possible to mount the Docker socket inside the build-env Docker > container? We run a lot of similar tests in CI, and it always worked: > > --mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock > > On Fri, May 21, 2021 at 12:26 PM Alexey Romanenko < > aromanenko....@gmail.com> wrote: > >> Hello, >> >> Beam provides a very cool feature to run a local development environment >> via Docker [1]. In the same time, some unit tests require to run Docker >> containers to test against “real” instances (for example, >> ClickHouseIOTest). So, it will end up with “docker-in-docker” issue and >> such tests will fail. >> >> What would be a proper solution for that? Annotate these tests with a >> specific “DockerImageRequired” annotation and skip them when running from >> inside container or something else? Any ideas on this? >> >> Thanks, >> Alexey >> >> >> [1] https://github.com/apache/beam/blob/master/start-build-env.sh > >