Docker Community Forums

Share and learn in the Docker community.

Docker container run -it cypress/included:8.6.0 thows] Failed to connect to the bus

What am I trying to achieve?
A) To run an interactive container to install dependencies the image doesn’t have and, then get ready this container to make a PoC

Which is the image?


What command am I using?

sudo docker container run -it cypress/included:8.6.0 bash

Which was the result?

[18:1019/] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[18:1019/] Failed to connect to the bus: Address does not contain a colon
[18:1019/] Failed to connect to the bus: Address does not contain a colon
[182:1019/] Passthrough is not supported, GL is swiftshader

Cypress has been the hardest container to work with, I’ll appreciate all the help on this matter.


Seen this Run Cypress with a single Docker command ?

Also, the bash as you give as an argument, dosnt start bash, it dosnt start bash in this case.
if you check the dockerfile for this image: cypress-docker-images/Dockerfile at master · cypress-io/cypress-docker-images · GitHub

you can see that the entrypoint is: [“cypress”, “run”] ( bottom )
this means, that everything you put after the image, will be giving the arguments to the above command, in this case it would be “cypress run bash”

Maybe it will work, i dont know cypress but i dont think this is what you intended.