Update containers_examples.lua
This commit is contained in:
@@ -3,7 +3,7 @@ local containers = require("containers")
|
||||
|
||||
--To create a container use the getENV(fspath, has_http) function
|
||||
--the first argument is the path for the file system the second is an optional argument that when provided with true enables http
|
||||
local env = containers.getENV("/containerfs")
|
||||
local env = containers.getENV("/containerfs", true)
|
||||
|
||||
--To run the created container you call the start(env)
|
||||
--This will start the container and block on it you can put this in a function like parrallel.waitForAll()
|
||||
|
||||
Reference in New Issue
Block a user