Skip to content

Commit 2671a07

Browse files
Update code block examples (#22494)
<!--Delete sections as needed --> ## Description This updates the code block examples to remove a reference to an old domain name that is no longer used. ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
1 parent 95cebcc commit 2671a07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/contribute/components/code-blocks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,15 @@ Use the `bash` language code block when you want to show a Bash script:
9898

9999
```bash
100100
#!/usr/bin/bash
101-
echo "deb https://packages.docker.com/1.12/apt/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
101+
echo "deb https://download.docker.com/linux/ubuntu noble stable" | sudo tee /etc/apt/sources.list.d/docker.list
102102
```
103103

104104
If you want to show an interactive shell, use `console` instead.
105105
In cases where you use `console`, make sure to add a dollar character
106106
for the user sign:
107107

108108
```console
109-
$ echo "deb https://packages.docker.com/1.12/apt/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
109+
$ echo "deb https://download.docker.com/linux/ubuntu noble stable" | sudo tee /etc/apt/sources.list.d/docker.list
110110
```
111111

112112
## Go

0 commit comments

Comments
 (0)