Mastodon Feed: Post

Mastodon Feed

lloydmeta ("Lloyd") wrote:

Found some stuff to make #Rancher Desktop a smoother replacement for #Docker Desktop:

export DOCKER_HOST=unix://$HOME/.rd/docker.sock
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
export TESTCONTAINERS_HOST_OVERRIDE=$(rdctl shell ip a show vznat | awk '/inet / {sub("/.*",""); print $2}')

With this, there is no longer a need to check the "ask for admin/sudo" access checkbox , which bugs you every time there's a restart.