(bind-filesystem!
container-config
{host-path :host-path container-path :container-path mode :mode})
Binds a source from the filesystem to the given container path. Should be called before starting the container!
Binds a source from the filesystem to the given container path. Should be called before starting the container!
(copy-file-to-container! container-conf
{container-path :container-path path :path type :type})
Copies a file into the running container
Copies a file into the running container
(create {image-name :image-name
exposed-ports :exposed-ports
env-vars :env-vars
command :command})
Sets the properties for a testcontainer instance
Sets the properties for a testcontainer instance
(execute-command! container-conf command)
Executes a command in the container, and returns the result
Executes a command in the container, and returns the result
(map-classpath-resource!
container-config
{resource-path :resource-path container-path :container-path mode :mode})
Maps a resource in the classpath to the given container path. Should be called before starting the container!
Maps a resource in the classpath to the given container path. Should be called before starting the container!
(start! container-conf)
Starts the underlying testcontainer instance and adds new values to the response map, e.g. :id and :first-mapped-port
Starts the underlying testcontainer instance and adds new values to the response map, e.g. :id and :first-mapped-port
(stop! container-conf)
Stops the underlying container
Stops the underlying container
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close