Update deprecated docker flags to new format