Hey Docker Team,
When I am following the step-4-run-your-new-docker-whale on windows 10 machine I got permission denied error, adding the logs. Suggest/Help-me to re-solve this issue.
Url’s removed due to limited url’s allowed.
C:\docker build -t docker-whale .
Sending build context to Docker daemon 2.048 kB
Step 1/3 : FROM docker/whalesay:latest
Step 2/3 : RUN sudo apt-get -y update && sudo apt-get install -y fortunes
—> Running in a57a54b82a8c
Fetched 3813 kB in 17s (212 kB/s)
Reading package lists…
Reading package lists…
Building dependency tree…
Reading state information…
The following extra packages will be installed:
fortune-mod fortunes-min librecode0
The following NEW packages will be installed:
fortune-mod fortunes fortunes-min librecode0
0 upgraded, 4 newly installed, 0 to remove and 94 not upgraded.
Need to get 1961 kB of archives.
After this operation, 4817 kB of additional disk space will be used.
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 1961 kB in 6s (303 kB/s)
Selecting previously unselected package librecode0:amd64.
(Reading database … 13116 files and directories currently installed.)
Preparing to unpack …/librecode0_3.6-21_amd64.deb …
Unpacking librecode0:amd64 (3.6-21) …
Selecting previously unselected package fortune-mod.
Preparing to unpack …/fortune-mod_1%3a1.99.1-7_amd64.deb …
Unpacking fortune-mod (1:1.99.1-7) …
Selecting previously unselected package fortunes-min.
Preparing to unpack …/fortunes-min_1%3a1.99.1-7_all.deb …
Unpacking fortunes-min (1:1.99.1-7) …
Selecting previously unselected package fortunes.
Preparing to unpack …/fortunes_1%3a1.99.1-7_all.deb …
Unpacking fortunes (1:1.99.1-7) …
Setting up librecode0:amd64 (3.6-21) …
Setting up fortune-mod (1:1.99.1-7) …
Setting up fortunes-min (1:1.99.1-7) …
Setting up fortunes (1:1.99.1-7) …
Processing triggers for libc-bin (2.19-0ubuntu6.6) …
Removing intermediate container a57a54b82a8c
Step 3/3 : CMD /usr/games/ fortune -a | cowsay
—> Running in fc5fd7f78d2d
Removing intermediate container fc5fd7f78d2d
Successfully built 0beada43d767
SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have ‘-rwxr-xr-x’ permissions. It is recommended to double check and reset permissions for sensitive files and directories.