mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
- USE_CONTAINER allow to seamlessly run targets inside or outside containers - all build calls have been harmonized, honoring the same env variables - contributing doc has been streamlined according to that - kill the distinction between remote and local docker builds - got rid of some of the byzantine calls in various asorted scripts - support for static build, debug builds, verbose Signed-off-by: Olivier Gambier <olivier@docker.com>
19 lines
467 B
Bash
19 lines
467 B
Bash
#!/usr/bin/env bats
|
|
|
|
load ${BASE_TEST_DIR}/helpers.bash
|
|
|
|
@test "$DRIVER: create with arbitrary engine option" {
|
|
run machine create -d $DRIVER \
|
|
--engine-opt log-driver=none \
|
|
$NAME
|
|
echo ${output}
|
|
[ $status -eq 0 ]
|
|
}
|
|
|
|
@test "$DRIVER: check created engine option (log driver)" {
|
|
docker $(machine config $NAME) run --name nolog busybox echo this should not be logged
|
|
run docker $(machine config $NAME) logs nolog
|
|
echo ${output}
|
|
[ $status -eq 1 ]
|
|
}
|