Skip to content

ExecStartCmd failure #424

Description

@mobailabs

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions