Spaces:
Runtime error
Runtime error
NewtonKimathi
commited on
Commit
•
84be72f
1
Parent(s):
b15ec50
Basic commands
Browse files- commands.txt +14 -1
commands.txt
CHANGED
@@ -7,4 +7,17 @@
|
|
7 |
#The variable for a function will be an object of the class defined
|
8 |
|
9 |
# View a summary of image vulnerabilities and recommendations
|
10 |
-
docker scout quickview
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
#The variable for a function will be an object of the class defined
|
8 |
|
9 |
# View a summary of image vulnerabilities and recommendations
|
10 |
+
docker scout quickview
|
11 |
+
|
12 |
+
# To start docker
|
13 |
+
docker start
|
14 |
+
|
15 |
+
# To build a docker image
|
16 |
+
docker build -t fastapi-app .
|
17 |
+
|
18 |
+
# View a summary of image vulnerabilities and recommendations
|
19 |
+
docker scout quickview
|
20 |
+
|
21 |
+
# To run the container
|
22 |
+
|
23 |
+
docker run -it -p 8000:7860 fastapi-app
|