Hello guys,
I need some help with Docker.
I've downloaded the Countly image but couldn't start the process.
I got an error when run this: docker run -d -p 32768:2020 countly/countly-server
error: OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"docker\": executable file not found in $PATH": unknown
source: https://resources.count.ly/docs/installing-countly-server
Edit: I found the error, I enter the wrong host port and exposed port in Docker.
My questions:
1. When do I use "Volume From" Container ?
what is it for ?
2. Should I use a separate folder for 'Volume and Bind Mounts ' ?
3. How do I add Let's Encrypt's cert to the container image ?
[
{
"Id": "4ab0fc66e64ba52c3d05d91d2ece46bfc21500c6af98ba89f58c1b61350ed056",
"Created": "2018-08-19T16:49:54.911508692Z",
"Path": "/sbin/my_init",
"Args": [],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 30096,
"ExitCode": 0,
"Error": "",
"StartedAt": "2018-08-19T16:49:56.597371117Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:5864bc50dc27fb66fcc5dbb1918d4cc9e394d49811dacb36af1a82dae5a7fd2a",
"ResolvConfPath": "/var/lib/docker/openmediavault/containers/4ab0fc66e64ba52c3d05d91d2ece46bfc21500c6af98ba89f58c1b61350ed056/resolv.conf",
"HostnamePath": "/var/lib/docker/openmediavault/containers/4ab0fc66e64ba52c3d05d91d2ece46bfc21500c6af98ba89f58c1b61350ed056/hostname",
"HostsPath": "/var/lib/docker/openmediavault/containers/4ab0fc66e64ba52c3d05d91d2ece46bfc21500c6af98ba89f58c1b61350ed056/hosts",
"LogPath": "/var/lib/docker/openmediavault/containers/4ab0fc66e64ba52c3d05d91d2ece46bfc21500c6af98ba89f58c1b61350ed056/4ab0fc66e64ba52c3d05d91d2ece46bfc21500c6af98ba89f58c1b61350ed056-json.log",
"Name": "/gallant_euler",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "docker-default",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/etc/localtime:/etc/localtime:ro"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "host",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemo