Fix container offline mode problems