providers/docker: flatten stack so it runs at one point