File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -556,3 +556,16 @@ a) Using `--cap-add CPU` . <br>
556
556
b) Using` --cpuset-cpus ` . <br >
557
557
c) Using` --cpus ` . <br >
558
558
d) It is not possible to specify the number of CPUs;we have to use ` --cpu-shares ` and define the CPU slices. <br >
559
+
560
+
561
+ ## 2. How can we limit the amount of memory available to a container?
562
+ a) It is not possible to limit the amount of memory available to a container.<br >
563
+ b) Using ` --cap-drop MEM ` .<br >
564
+ c) Using ` --memory ` .<br >
565
+ d) Using ` --memory-reservation ` .<br >
566
+
567
+ ## 3.What environment variables should be exported to start using a trusted environment with the Docker client?
568
+ a) ` export DOCKER_TRUSTED_ENVIRONMENT=1 ` <br >
569
+ b) ` export DOCKER_CONTENT_TRUST=1 ` <br >
570
+ c) ` export DOCKER_TRUST=1 ` <br >
571
+ d) ` export DOCKER_TRUSTED=1 ` <br >
You can’t perform that action at this time.
0 commit comments