provision/docker: save container in the database and router in create

Closes #432.