Skip to content

Commit

Permalink
v1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
croketillo committed Dec 27, 2023
1 parent 0bbf773 commit 38b0662
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions dockerinfo/dockerinfo.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
"""
DOCKERINFO v1.3.1
DOCKERINFO v1.3.2
Author: croketillo <[email protected]> <https://github.com/croketillo>
Description: Extract information from docker containers
License: GNU(GPL)-3
Example usage:
=============
docker_helper = GetDockerContainers()
containers_list = docker_helper.list_containers(all_containers=True)
my_container = docker_helper.get_container_by_name("my_container_name")
"""
import docker
from datetime import datetime
Expand Down Expand Up @@ -39,12 +46,6 @@ def get_container_by_name(self, container_name):
# Return None if the container doesn't exist
return None

# Example usage:
# docker_helper = GetDockerContainers()
# containers_list = docker_helper.list_containers(all_containers=True)
# my_container = docker_helper.get_container_by_name("my_container_name")


class DockerContainerInfo:
"""
A class that provides information and operations related to a Docker container.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup, find_packages
from sys import version_info

VERSION = "1.3.1"
VERSION = "1.3.2"
CURR_PATH = "{}{}".format(path.abspath(path.dirname(__file__)), '/')


Expand Down

0 comments on commit 38b0662

Please sign in to comment.