Skip to content

Commit 8ed9ac5

Browse files
committed
one last try based on handrolled xml validation
1 parent acd2a62 commit 8ed9ac5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

chapter_09_docker.asciidoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ so that you can be sure of what's being run inside vs outside containers.
954954
[subs="specialcharacters,macros"]
955955
----
956956
$ pass:quotes[*docker exec -it container-id-or-name bash*]
957-
root@5ed84681fdf8:/src# pass:quotes[*apt-get update && apt-get install -y curl*]
957+
root@5ed84681fdf8:/src# pass:specialcharacters,quotes[*apt-get update && apt-get install -y curl*]
958958
Get:1 pass:[http://deb.debian.org/debian] bookworm InRelease [151 kB]
959959
Get:2 pass:[http://deb.debian.org/debian] bookworm-updates InRelease [52.1 kB]
960960
[...]
@@ -1295,20 +1295,20 @@ The extra flag to add is `-v`, and it takes a similar `outside:inside` argument
12951295
We specify a folder or file _outside_ the container, and the path we want it to appear at _inside_ the container.
12961296

12971297
[role="small-code"]
1298-
[subs="specialcharacters,macros"]
1298+
[subs="specialcharacters,quotes"]
12991299
----
1300-
$ pass:quotes[*./src/manage.py migrate --noinput*]
1300+
$ *./src/manage.py migrate --noinput*
13011301
Operations to perform:
13021302
Apply all migrations: auth, contenttypes, lists, sessions
13031303
Running migrations:
13041304
Applying contenttypes.0001_initial... OK
13051305
[...]
13061306
Applying sessions.0001_initial... OK
13071307
[...]
1308-
$ pass:quotes[*docker build -t superlists . && docker run \
1308+
$ *docker build -t superlists . && docker run \
13091309
-p 8888:8888 \
13101310
-v ./src/db.sqlite3:/src/db.sqlite3 \
1311-
-it superlists*]
1311+
-it superlists*
13121312
----
13131313

13141314
TIP: if you see an error saying: `django.db.utils.OperationalError`: "unable to open database file",

0 commit comments

Comments
 (0)