docker: refactor