docker: removed unused method.