pop-os / tensorman

Utility for easy management of Tensorflow containers
GNU General Public License v3.0
206 stars 16 forks source link

Eliminate dependency on bollard, using command line invocation of docker, and add --docker-cmd argument #24

Closed ids1024 closed 4 years ago

ids1024 commented 4 years ago

In https://github.com/pop-os/tensorman/pull/23, it was annoyingly complicated to update to a newer bollard release. This reduces problems like that by removing many of the dependencies of tensorman.

This changes the formatting somewhat. Previously, tensorman list produced output like:

REPOSITORY             TAG         IMAGE ID         SIZE
tensorflow/tensorflow  latest-gpu  f5ba7a196d564d9  3842545063
tensorflow/tensorflow  latest      6ca08e7b0d9275d  2247172427

Now it shows:

REPOSITORY             TAG         IMAGE ID      SIZE
tensorflow/tensorflow  latest-gpu  f5ba7a196d56  3.84GB
tensorflow/tensorflow  latest      6ca08e7b0d92  2.25GB

This is probably better, and matches docker. But is worth noting.

The new --docker-cmd argument can be used to invoke an executable other than docker, like podman.