installing cPickle with python 3.5

cPickle comes with the standard library… in python 2.x. You are on python 3.x, so if you want cPickle, you can do this: However, in 3.x, it’s easier just to use pickle. No need to install anything. If something requires cPickle in python 3.x, then that’s probably a bug.

Can’t connect to docker from docker-compose

The Docker machine is running. But you need to export some environment to connect to the Docker machine. By default, the docker CLI client is trying to communicate to the daemon using http+unix://var/run/docker.sock (as shown in the error message). Export the correct environment variables using eval $(docker-machine env dev) and then try again. You can also just run docker-machine env dev to see … Read more

Issues while installing Docker on Windows 10 home edition

Edit Windows Version in Registry Press Windows + R and write regedit In the Registry Editor, go to \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion Right-click on EditionID and Click Modify Change Value Data to “Professional” Press OK. Install Docker After the installation, you can change the EditionID back to “Core”

Docker how to change repository name or rename image?

or Tags are just human-readable aliases for the full image name (d583c3ac45fd…). So you can have as many of them associated with the same image as you like. If you don’t like the old name you can remove it after you’ve retagged it: That will just remove the alias/tag. Since d583c3ac45fd has other names, the actual image won’t … Read more

Docker: Having issues installing apt-utils

This is not actually an error and it is safe to ignore it. I have built a large number of container images without ever having apt-utils on any of them and regardless of this warning message, all package installs go through and work normally. Anyway, if you want to have apt-utils – install it. It … Read more

Where are Docker images stored on the host machine?

The contents of the /var/lib/docker directory vary depending on the driver Docker is using for storage. By default this will be aufs but can fall back to overlay, overlay2, btrfs, devicemapper or zfs depending on your kernel support. In most places this will be aufs but the RedHats went with devicemapper. You can manually set the storage driver with the -s or –storage-driver= option to the Docker daemon. /var/lib/docker/{driver-name} will contain the driver specific storage for contents … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)