Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.
This repository was archived by the owner on May 29, 2025. It is now read-only.

New code to remove a container with CDDDocker #154

@cea2aj

Description

@cea2aj

With edge devices typically having small storage capabilities, it would be useful to be able to remove a container from a device in order to save space.

A CDDDocker script would look like:
./remove.sh ${AWS_IOT_THING_NAME} 6b670c2e8cafcfb0546b4bcab6527cbaa2a8756ff94b7b449e846f0f1525f886

In DockerHelper.java, the function would look like:
Optional<String> removeContainer(String name);

In BasicDockerHelper.java, the key command would be:
dockerClient.removeContainerCmd(container.getId()).exec();

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions