Fix It Live
Rename a container and change its limits with ZERO downtime.
A beginner Docker challenge worth 3 points. Solve it hands-on in a real Docker environment in your browser - no local setup, no fake shells.
The Challenge
Scenario: A live-traffic container is named webapp-prod-final-v2-REAL, has no memory limit and no restart policy. You may not stop or recreate it — uptime must be preserved (the checker verifies it's the same container!).
Tasks:
- Rename it to
payments-worker - Apply --memory 256m (with matching
--memory-swap) and restart policy unless-stopped — usingdocker update
Commands to learn: docker rename, docker update
Run check when done.