Make docker pre-1.3 compatible