@@ -954,7 +954,7 @@ so that you can be sure of what's being run inside vs outside containers.
954
954
[subs="specialcharacters,macros"]
955
955
----
956
956
$ 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*]
958
958
Get:1 pass:[http://deb.debian.org/debian] bookworm InRelease [151 kB]
959
959
Get:2 pass:[http://deb.debian.org/debian] bookworm-updates InRelease [52.1 kB]
960
960
[...]
@@ -1295,20 +1295,20 @@ The extra flag to add is `-v`, and it takes a similar `outside:inside` argument
1295
1295
We specify a folder or file _outside_ the container, and the path we want it to appear at _inside_ the container.
1296
1296
1297
1297
[role="small-code"]
1298
- [subs="specialcharacters,macros "]
1298
+ [subs="specialcharacters,quotes "]
1299
1299
----
1300
- $ pass:quotes[ *./src/manage.py migrate --noinput*]
1300
+ $ *./src/manage.py migrate --noinput*
1301
1301
Operations to perform:
1302
1302
Apply all migrations: auth, contenttypes, lists, sessions
1303
1303
Running migrations:
1304
1304
Applying contenttypes.0001_initial... OK
1305
1305
[...]
1306
1306
Applying sessions.0001_initial... OK
1307
1307
[...]
1308
- $ pass:quotes[ *docker build -t superlists . && docker run \
1308
+ $ *docker build -t superlists . && docker run \
1309
1309
-p 8888:8888 \
1310
1310
-v ./src/db.sqlite3:/src/db.sqlite3 \
1311
- -it superlists*]
1311
+ -it superlists*
1312
1312
----
1313
1313
1314
1314
TIP: if you see an error saying: `django.db.utils.OperationalError`: "unable to open database file",
0 commit comments