0 purchases
docker elite
Docker Elite #
A superior way of interacting with Docker. Hecho en 🇵🇷 por Radamés J. Valentín Reyes.
Learn Docker #
First you must learn what Docker is and how it works. In my case I got started using this Udemy course.
Install Docker #
Linux #
Click here for Linux install guide
Windows #
Click here for Windows install guide
Mac #
Click here for Mac install guide
Note: Ensure that Docker is running before invoking any commands. Otherwise it will result in errors beign thrown.
Library Docs #
Pull image #
Docker Command:
docker pull imageName
copied to clipboard
Docker Elite:
String imagePullResult = await pullImage(
imageName: testImage,
);
copied to clipboard
List Docker images #
Docker Command:
docker images
copied to clipboard
Docker Elite:
List<DockerImage> dockerImages = await listDockerImages();
copied to clipboard
Start a docker container #
Docker Command:
docker run imageName
copied to clipboard
Docker Elite:
String result = await runContainer(
imageName: imageName,
options: [],
command: [],
arguments: [],
);
copied to clipboard
List docker containers #
Docker Command:
docker ps
copied to clipboard
Docker Elite:
List<DockerContainer> containers = await listDockerContainers();
copied to clipboard
Docker Command:
docker ps -a
copied to clipboard
Docker Elite:
List<DockerContainer> containers = await listDockerContainers(true);
copied to clipboard
Stop docker container #
Docker Command:
docker stop imageName
copied to clipboard
Docker Elite:
String result = await stopContainer(
containerID: dockerContainer.id,
);
copied to clipboard
Remove container #
Docker Command:
docker rm imageName
copied to clipboard
Docker Elite:
String result = await removeContainer(
containerID: dockerContainer.id,
);
copied to clipboard
Remove image #
Docker Command:
docker rmi imageName
copied to clipboard
Docker Elite:
String result = await removeImage(
imageName: imageName,
);
copied to clipboard
Build image #
Docker Command:
docker build pathOrUrl
copied to clipboard
Docker Elite:
String result = await buildImage(
pathOrUrl: pathOrUrl,
options: [],
);
copied to clipboard
Contribute/donate by tapping on the Pay Pal logo/image #
References #
https://www.udemy.com/course/learn-docker
https://stackoverflow.com/questions/50285252/docker-images-output-as-json-using-format/78361564#78361564
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.