docs: Docker tutorial review: ubuntu:lts, long options, links to the casts
- ubuntu:lts instead of ubuntu:24.04 (26.04 today) - cloud-init status --wait --long gives the summary, no need to read the log - long options everywhere in the tutorial and its demos - a discreet link to the asciinema recording under each GIF (pause, fast forward in Gitea's player), in the main README too - castfix.py only restores the prompt after autocast's own !Clear Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018inUJkPw1qcoCubeKqfffm
This commit is contained in:
1 parent
372bf5d84b
commit
be68264e5c
12 files changed
+1689
-1717
No files matched your search
@@ -29,16 +29,16 @@ instructions:
|
||||
- !Marker Shell
|
||||
- !Command {command: "# Or open a shell in the instance and use Docker as on any machine"}
|
||||
- !Command {command: "lxc shell docker"}
|
||||
- !Command {command: "docker run -d --name web -p 8080:80 nginx:alpine"}
|
||||
- !Command {command: "docker run --detach --name web --publish 8080:80 nginx:alpine"}
|
||||
- !Wait 2s
|
||||
- !Command {command: "clear"}
|
||||
- !Command {command: "docker image ls"}
|
||||
- !Command {command: "docker ps"}
|
||||
- !Wait 3s
|
||||
- !Command {command: "docker top web -o pid,user,args"}
|
||||
- !Command {command: "docker top web --format pid,user,args"}
|
||||
- !Command {command: "docker stats --no-stream"}
|
||||
- !Wait 3s
|
||||
- !Command {command: "curl -s localhost:8080 | grep title"}
|
||||
- !Command {command: "curl --silent localhost:8080 | grep title"}
|
||||
- !Command {command: "exit"}
|
||||
- !Wait 5s
|
||||
- !Command {command: "demo_cleanup", hidden: true}
|
||||
Reference in new issue
Block a user