docker-push-ssh icon indicating copy to clipboard operation
docker-push-ssh copied to clipboard

Installation instructions are lacking

Open Shardj opened this issue 2 years ago • 1 comments
trafficstars

I've not used pip before as I don't really develop with python, but I installed pip on my ubuntu instance with sudo apt install python3-pip and ran the requested pip install docker-push-ssh command. I then had to search and find that the bin path was ~/.local/bin which needed to be added to my $PATH. Then upon running docker-push-ssh -h I'm hit with 'ModuleNotFoundError: No module named 'urllib2'', and I don't seem to be able to install this missing module with pip install.

It would be great if any needed dependencies were installed with the pip install docker-push-ssh command.

Shardj avatar Feb 22 '23 16:02 Shardj

So it seems that this is a python2 program, so:

Install python 2

Install pip 2: curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py sudo python2 get-pip.py

Then as root use pip2 to install this repo sudo pip2 install docker-push-ssh

Shardj avatar Feb 22 '23 16:02 Shardj