X Tutup
Skip to content

ExecStartCmd failure #424

@zhaopengme

Description

@zhaopengme

hi .
I use the lastest code to test. but still can not generate file.and I found many test cases can not passed.

    @Test(groups = "ignoreInCircleCi")
    public void execCreateTest1() {
        String containerName = "generated_" + new SecureRandom().nextInt();

        CreateContainerResponse container = dockerClient.createContainerCmd("busybox").withCmd("top").withName(containerName).exec();
        dockerClient.startContainerCmd(container.getId()).exec();
        ExecCreateCmd execCreateCmd = dockerClient.execCreateCmd(container.getId());

        execCreateCmd.withCmd("echo", "\"this\"", ">", "/home/testfile.txt");
        String execCreateCmdId = execCreateCmd.exec().getId();
        ExecStartCmd execStartCmd = dockerClient.execStartCmd(container.getId());

    }

like this: #400 #253 #397

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup