Coder Social home page Coder Social logo

bretfisher / udemy-docker-mastery Goto Github PK

View Code? Open in Web Editor NEW
5.2K 427.0 6.1K 21.05 MB

Docker Mastery Udemy course to build, compose, deploy, and manage containers from local development to high-availability in the cloud

Home Page: https://www.bretfisher.com/courses

License: MIT License

Ruby 0.58% CSS 8.72% JavaScript 50.16% HTML 17.40% PHP 0.60% Shell 0.96% Python 0.17% Dockerfile 4.16% Less 8.39% SCSS 8.69% Handlebars 0.17%
devops docker kubernetes

udemy-docker-mastery's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

udemy-docker-mastery's Issues

Docker machine deprecated, use multipass for multi-node

Add a short text lecture at the beginning of the Swarm section on how to use multipass over docker-machine.

  • Create Lecture Note with comment @BretFisher
  • Replace lecture with video and more examples (per OS and per network driver)
  • Remove all mentions of docker machine and docker toolbox (except to mention it's deprecated)

Convo in Q&A: https://www.udemy.com/course/docker-mastery/learn/#questions/18305090/
Windows VirtualBox Q&A: https://www.udemy.com/course/docker-mastery/learn/#questions/19719184/

New Section: Dockerfile ENTRYPOINT and CMD

Create 1 or more new sections that expand on the Dockerfile commands in Section 3, including these topics:

  • ./dockerfiles/entrypoint-cli-1
  • Lecture Outline: ENTRYPOINT and its relationship to CMD
  • how they are combined into one line at runtime
  • override CMD
  • override ENTRYPOINT with --entrypoint
    - [ ] Visual: ENTRYPOINT + CMD as the shell runs it
  • Lecture Outline: Example of ENTRYPOINT for CLI utils (e.g. curl)
  • Assignment Outline: Create ENTRYPOINT+CMD for CLI tool (e.g. ascii text generator)
    • README.md - assignment instructions
    • answer/Dockerfile - final solution with inline comments
  • Lecture Outline: Example of ENTRYPOINT for startup scripts (e.g. postgres)
  • Assignment Outline: Create ENTRYPOINT startup script
    • README.md - assignment instructions
    • answer/Dockerfile - final solution with inline comments

SOP for creating a new section

https://www.notion.so/coreenable/Udemy-course-creating-new-section-e492c3ff2ca14e8aae1bfdfeecfc383e

Add lecture on Swarm Secrets via CLI

From Joao in Discord:

Hi Bret, if you see this I just wanted to ask, since you mentioned you are updating some videos now, if you could update also the video 20 "Using Secrets in Swarm Services" on "Section 4: Swarm Basic Features and How to Use Them In Your Workflow".

In the Q&A there are a couple of suggestions on how to avoid entering secrets that can be revisited in the bash history (starting the command with a whitespace), as well how to avoid trailing newline characters while using echo (using printf instead).

  • Add a written lecture on passwords-in-shell workarounds to Docker Mastery
  • Add a written lecture on passwords-in-shell workarounds to Swarm Mastery

bindmount-sample-1 redirects to 404

Hey Bret, I'm running docker toolbox on win 10 home. The bindmount-sample-1 is displaying a 404 even though the container is up and running.

C :\Users\sowmith\docker-mastery\udemy-docker-mastery\bindmount-sample-1>docker container run -p 80:4000 -v //c/Users/sowmith/docker-mastery/udemy-docker-mastery/bindmount-sample-1:/site bretfisher/jekyll-serve
Fetching gem metadata from https://rubygems.org/..........
Using bundler 2.1.4
Using colorator 1.1.0
Using concurrent-ruby 1.1.6
Using eventmachine 1.2.7
Using http_parser.rb 0.6.0
Using ffi 1.12.2
Using forwardable-extended 2.6.0
Using liquid 4.0.3
Using mercenary 0.3.6
Using safe_yaml 1.0.5
Using unicode-display_width 1.7.0
Fetching rexml 3.2.4
Fetching rb-fsevent 0.10.4
Fetching public_suffix 4.0.5
Fetching rouge 3.18.0
Using em-websocket 0.5.1
Using i18n 1.8.2
Using rb-inotify 0.10.1
Using pathutil 0.16.2
Using terminal-table 1.8.0
Fetching sassc 2.3.0
Installing rb-fsevent 0.10.4
Installing rexml 3.2.4
Using listen 3.2.1
Using jekyll-watch 2.2.1
Fetching kramdown 2.2.1
Installing public_suffix 4.0.5
Using addressable 2.7.0
Installing sassc 2.3.0 with native extensions
Installing rouge 3.18.0
Installing kramdown 2.2.1
Using kramdown-parser-gfm 1.1.0
Using jekyll-sass-converter 2.1.0
Fetching jekyll 4.0.1
Installing jekyll 4.0.1
Fetching jekyll-feed 0.13.0
Fetching jekyll-seo-tag 2.6.1
Installing jekyll-seo-tag 2.6.1
Installing jekyll-feed 0.13.0
Fetching minima 2.5.1
Installing minima 2.5.1
Bundle complete! 6 Gemfile dependencies, 31 gems now installed.
Use bundle info [gemname] to see where a bundled gem is installed.
Post-install message from jekyll:

Jekyll 4.0 comes with some major changes, notably:

  • Our link tag now comes with the relative_url filter incorporated into it.
    You should no longer prepend {{ site.baseurl }} to {% link foo.md %}
    For further details: jekyll/jekyll#6727

  • Our post_url tag now comes with the relative_url filter incorporated into it.
    You shouldn't prepend {{ site.baseurl }} to {% post_url 2019-03-27-hello %}
    For further details: jekyll/jekyll#7589

  • Support for deprecated configuration options has been removed. We will no longer
    output a warning and gracefully assign their values to the newer counterparts
    internally.


Configuration file: /site/_config.yml
Source: /site
Destination: /site/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
done in 0.629 seconds.
Auto-regeneration: enabled for '/site'
Server address: http://0.0.0.0:4000/
Server running... press ctrl-c to stop.

image

Update Docker Certification lectures

In Docker Mastery, and likely Swarm Mastery, update the DCA lecture based on the current reality:

  • DCA is run by Mirantis and focused on their K8s+Swarm cluster solution
  • DCA only useful if you run Mirantis
  • No Docker-specific open-source focused cert exists
  • Recommend Cloud + DevOps + Linux + Kubernetes for DevOps focus.

https://training.mirantis.com/dca-certification-exam/
https://training.linuxfoundation.org/certification-catalog/
https://aws.amazon.com/certification/certified-devops-engineer-professional/
https://www.cncf.io/certification/cka/

Update Docker install videos

In the past three years, the process of Docker Desktop installation and the platforms supported has changed. Products like Machine and Toolbox are deprecated, while Windows WSL2 has gained support in Home edition. Re-record all install videos to be shorter and cover the new ways to use Docker.

  • Rerecord Docker Desktop for Windows 10. Mention the three main choices of Hyper-V, WSL2, and Windows Containers. Mention drive permissions.
  • Rerecord Docker Desktop for macOS. Mention drive permissions.
  • Rerecord Linux install on Ubuntu.

After updating, be sure to replace them elsewhere:

  • My YouTube Channel
  • My Ghost blog post

possible port change on swarm-stack-1/example-voting-app-stack.yaml

Hi Bret,

how's the new year?
I changed the port on this .yaml file as the voting page wasn't loading when I ran the whole

docker swarm deploy -c example-voting-app-stack.yml voteapp

I changed the port on line 29 from

  vote:
    image: dockersamples/examplevotingapp_vote:before
    ports:
      - 5000:80

to

  vote:
    image: dockersamples/examplevotingapp_vote:before
    ports:
      - 80:80

without the change the main url:80 wasn't loading. Only url:5001 was loading.

This was done on GCE and a 3 swarm node and I checked this twice. I haven't checked it on another cloud service yet.

I'm doing your course on udemy and enjoying swarm.

Issue in running Node app in dockerfile-Assignment 1

Hi,

I was completing this assignment of building a container from node alpine image.

Build is successful, but when i run tht container ,I get this error.

λ docker container run --rm -p 80:3000 testnode
module.js:478
throw err;
^

Error: Cannot find module '/usr/src/app/bin/www '
at Function.Module._resolveFilename (module.js:476:15)
at Function.Module._load (module.js:424:25)
at Module.runMain (module.js:611:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:160:9)
at bootstrap_node.js:507:3

swarm stack example services failing

In swarm-stack-1 the provided example-voting-app-stack.yml has services that do not work, only the voting app on port 5000 works, other services like the visualizer runs but cannot be accessed and worker fails checking logs says the error (Name or service not known)

Explain file permissions across containers

At some point you'll have file permissions problems with container apps not having the permissions they need. Maybe you want multiple containers to access the same volume(s). Or maybe you're bind-mounting existing files into a container.

Explain how file permissions work in Linux, and how containers don't change that, and give a few troubleshooting steps for dealing with multi-container volumes and bind-mounts.

Improve start of Docker Mastery for a "quick win" with new videos

Rather than starting out with hours of "what is docker" and installs. Let's get our hands dirty for a few minutes before we start installing it locally.

New videos:

This replaces the two existing videos

  • November 2019 Update
  • Why Docker? Why Now?

Notion Tasking Page

Nginx Dockerfile example won't build on arm64

Original Q&A report.

Nginx fails to build on arm64:

I am getting error in docker image build. I tried to build Docker image under folder dockerfile-sample-1 in 41th video slide.
5 20.76 Reading state information...
#5 20.77 E: Version '1.13.6-1~stretch' for 'nginx' was not found
#5 20.77 E: Unable to locate package nginx-module-xslt
#5 20.77 E: Unable to locate package nginx-module-geoip
#5 20.77 E: Unable to locate package nginx-module-image-filter
#5 20.77 E: Unable to locate package nginx-module-njs
------
executor failed running [/bin/sh -c apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 && NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; found=''; for server in ha.pool.sks-keyservers.net hkp://keyserver.ubuntu.com:80 hkp://p80.pool.sks-keyservers.net:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; apt-get remove --purge -y gnupg1 && apt-get -y --purge autoremove && rm -rf /var/lib/apt/lists/* && echo "deb http://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y
  • Update Dockerfile to work in x86-64 and arm64 if possible.

Update Drupal versions & Fix assignments

Drupal in the course is one major version out of date, and has issues with Postgres on M1/arm64 processors. Test and update the various lectures, and source code, with the latest mainstream versions.

Pin to drupal:9 and postgres:14 for now.

In addition, in the latest Drupal+psql, Postgres no longer works and MySQL/MariaDB are preferred.

NOTE: need to search for more drupal examples and change to mariadb

For these lectures:

  • C1 Assignment: Build a Compose File For a Multi-Container Project Section 7 Assignment 1 and Answer
    • FIXME: ./compose-assignment-1
    • FIXME: The dir is never mentioned in the assignmet
    • FIXME: The wrong dir is used in the answer
    • FIXME: swap out mariadb for postgres
  • C1 Assignment: Compose For Image Building Section 7 Assignment 2 and Answer
    • FIXME: ./compose-assignment-2
  • C1/C2 Section 9, video 1 Scaling out with overlay networking
    • FIXME: add written lecture to pin versions
    • FIXME: update commands in video one to pin versions
  • C1/C2 Section 9, Assignment 1 and Answer
    • FIXME: Update ./secrets-assignment-1
    • FIXME: this depends on compose-assignment-2 files 😦
    • FIXME: This assignment never mentioned the secrets-assignment-1
    • FIXME: this assignment mentioned a version in the slide, which is now different
    • FIXME: this assignment tells us to copy the file to swarm server rather than ssh-tunnel
    • FIXME: there is no readme in secrets-assignment-1
    • FIXME: move secrets-assignment-1 to swarm-secrets-assignment-1
  • ./swarm-app-2 moved to ./swarm-secrets-assignment-1
  • ./swarm-stack-3

Original C1 Q&A
Origional C2 Q&A
Another C1 Q&A

Not able to run the docker image build in lecture 42 I believe

Hi Bret
HDS
I still get this error
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/dave/dogs/cedar/Dockerfile: no such file or directory

With this CLI docker image build -t customnginx .
or
docker image build --platform linux/x86_64 -t customnginx .
I'm really new to this and might need more help than most
dave

Permission Denied

purchased the course in Udemy and tried to clone Udemy-docker-mastery throwing "Permission Denied".

\compose-sample-3\docker-compose.yml not equal to lecture 56

The ...\compose-sample-3\docker-compose.yml is not equal to lecture "56. Adding Image Building to Compose Files"

It is missing the image: nginx-custom
under
services-
proxy:

It should look like:

version: '2'

# based off compose-sample-2, only we build nginx.conf into image
# uses sample site from https://startbootstrap.com/template-overviews/agency/

services:
  proxy:
    build:
      context: .
      dockerfile: nginx.Dockerfile
    image: nginx-custom
    ports:
      - '80:80'
  web:
    image: httpd
    volumes:
      - ./html:/usr/local/apache2/htdocs/

Section 6.57 on udemy compose-assignment-2 README.md Typo HEADS UP

Goal: This time imagine you're just wanting to learn Drupal's admin and GUI, or maybe you're a software tester and you need to test a new theme for Drupal. When configured properly, this will let you build a custom image and start everything with docker compose up including storing important db and config data in volumes so the site will remember your changes across Compose restarts.

SHOULD BE: docker-compose up <-

k8s-yaml folder?

Good day Captain, in video 112 of your Docker Mastery: The Complete Toolset From a Docker Captain course you mentioned the K8S-yaml folder... is it supposed to be here in this repo? maybe im in the wrong repo.

bindmount-sample-1 problem

Hi Bret! Having an issue on this sample, I think I did everything right, but I got this error logs when I try to execute this.

$ docker run -p 80:4000 -v $(pwd):/site bretfisher/jekyll-serve
NOTE: hmm, I don't see a Gemfile so I don't think there's a jekyll site here   
Either you didn't mount a volume, or you mounted it incorrectly.
Be sure you're in your jekyll site root and use something like this to launch  

docker run -p 80:4000 -v $(pwd):/site bretfisher/jekyll-serve

NOTE: To create a new site, you can use the sister image bretfisher/jekyll like:

docker run -v $(pwd):/site bretfisher/jekyll new .

I am at the working directory, I tried the $(pwd) command running on bash (win10 pro) this is what I see

$ $(pwd)
bash: /f/_experiment/dockerudemy/udemy-docker-mastery/bindmount-sample-1: Is a 
directory

And if I do a ls I can actually see there's a gemfile over there

$ ls
_config.yml  _posts  404.html  about.md  Gemfile  index.md

also docker dashboard, already specify the drive for file sharing correctly. I wonder what went wrong...

Thank you

NGINX no longer contains ping

A change in the official nginx image https://hub.docker.com/_/nginx (nginx or nginx:latest ) removes ping, but I use it in the next few videos to test connectivity, so you might get an error about "ping not found". I'm working on updates to those videos but until I can get them processed and uploaded, just do this:

Anywhere I do a docker container run nginx , where nginx is the image you should use, replace that with nginx:alpine, which still has ping command in it.

There are other ways to solve this, including adding the ping util with apt-get, making your own image, etc. More info in this Q&A answer.

Original Q&A

Unable to build image for dockerfile-sample1

https://github.com/BretFisher/udemy-docker-mastery/blob/master/dockerfile-sample-1/Dockerfile

This command:

docker image build --no-cache -t customnginx .

Yields this result:
`Sending build context to Docker daemon 4.608kB

Step 1/7 : FROM debian:stretch-slim
---> 7959ed6f7e35
Step 2/7 : ENV NGINX_VERSION 1.13.1-1stretch
---> Using cache
---> 29e049fed4e3
Step 3/7 : ENV NJS_VERSION 1.13.1.0.1.10-1
stretch
---> Using cache
---> 01e9fb3a2b38
Step 4/7 : RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 && NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; found=''; for server in ha.pool.sks-keyservers.net hkp://keyserver.ubuntu.com:80 hkp://p80.pool.sks-keyservers.net:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; apt-get remove --purge -y gnupg1 && apt-get -y --purge autoremove && rm -rf /var/lib/apt/lists/* && echo "deb http://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y nginx=${NGINX_VERSION} nginx-module-xslt=${NGINX_VERSION} nginx-module-geoip=${NGINX_VERSION} nginx-module-image-filter=${NGINX_VERSION} nginx-module-njs=${NJS_VERSION} gettext-base && rm -rf /var/lib/apt/lists/*
---> Running in 0f08212ae5e9
Get:1 http://security.debian.org stretch/updates InRelease [62.9 kB]
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:4 http://security.debian.org stretch/updates/main amd64 Packages [227 kB]
Get:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian stretch-updates/main amd64 Packages [6499 B]
Get:7 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2479 B]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [9500 kB]
Fetched 10.0 MB in 6s (1480 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libreadline7 readline-common
Suggested packages:
libpcsclite1 parcimonie xloadimage | imagemagick | eog readline-doc
Recommended packages:
gnupg1-curl gnupg1-l10n libldap-2.4-2
The following NEW packages will be installed:
gnupg1 libreadline7 readline-common
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 822 kB of archives.
After this operation, 1935 kB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 readline-common all 7.0-3 [70.4 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libreadline7 amd64 7.0-3 [151 kB]
Get:3 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 gnupg1 amd64 1.4.21-4 [600 kB]
�[91mdebconf: delaying package configuration, since apt-utils is not installed
�[0mFetched 822 kB in 1min 1s (13.3 kB/s)
Selecting previously unselected package readline-common.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 6318 files and directories currently installed.)
Preparing to unpack .../readline-common_7.0-3_all.deb ...
Unpacking readline-common (7.0-3) ...
Selecting previously unselected package libreadline7:amd64.
Preparing to unpack .../libreadline7_7.0-3_amd64.deb ...
Unpacking libreadline7:amd64 (7.0-3) ...
Selecting previously unselected package gnupg1.
Preparing to unpack .../gnupg1_1.4.21-4_amd64.deb ...
Unpacking gnupg1 (1.4.21-4) ...
Setting up readline-common (7.0-3) ...
Setting up libreadline7:amd64 (7.0-3) ...
Setting up gnupg1 (1.4.21-4) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Fetching GPG key 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 from ha.pool.sks-keyservers.net
�[91mWarning: apt-key output should not be parsed (stdout is not a terminal)
�[0mExecuting: /tmp/apt-key-gpghome.nWxzRWcnqp/gpg.1.sh --keyserver ha.pool.sks-keyservers.net --keyserver-options timeout=10 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
�[91mgpg: requesting key 7BD9BF62 from hkp server ha.pool.sks-keyservers.net
�[0m�[91mgpg: key 7BD9BF62: public key "nginx signing key [email protected]" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
�[0mReading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libreadline7 readline-common
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
gnupg1*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 1418 kB disk space will be freed.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 6372 files and directories currently installed.)
Removing gnupg1 (1.4.21-4) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
libreadline7* readline-common*
0 upgraded, 0 newly installed, 2 to remove and 1 not upgraded.
After this operation, 517 kB disk space will be freed.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 6342 files and directories currently installed.)
Removing libreadline7:amd64 (7.0-3) ...
Removing readline-common (7.0-3) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 6318 files and directories currently installed.)
Purging configuration files for readline-common (7.0-3) ...
Get:1 http://nginx.org/packages/mainline/debian stretch InRelease [2857 B]
Get:2 http://security.debian.org stretch/updates InRelease [62.9 kB]
Get:4 http://nginx.org/packages/mainline/debian stretch/nginx amd64 Packages [18.0 kB]
Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:5 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:7 http://security.debian.org stretch/updates/main amd64 Packages [227 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2479 B]
Get:9 http://cdn-fastly.deb.debian.org/debian stretch-updates/main amd64 Packages [6499 B]
Get:10 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [9500 kB]
Fetched 10.0 MB in 5s (1824 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
fontconfig-config fonts-dejavu-core libbsd0 libexpat1 libfontconfig1
libfreetype6 libgd3 libgeoip1 libicu57 libjbig0 libjpeg62-turbo libpng16-16
libssl1.1 libtiff5 libwebp6 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6
libxml2 libxpm4 libxslt1.1 ucf
Suggested packages:
libgd-tools geoip-bin
Recommended packages:
geoip-database xml-core
The following NEW packages will be installed:
fontconfig-config fonts-dejavu-core gettext-base libbsd0 libexpat1
libfontconfig1 libfreetype6 libgd3 libgeoip1 libicu57 libjbig0
libjpeg62-turbo libpng16-16 libssl1.1 libtiff5 libwebp6 libx11-6 libx11-data
libxau6 libxcb1 libxdmcp6 libxml2 libxpm4 libxslt1.1 nginx
nginx-module-geoip nginx-module-image-filter nginx-module-njs
nginx-module-xslt ucf
0 upgraded, 30 newly installed, 0 to remove and 1 not upgraded.
Need to get 16.3 MB of archives.
After this operation, 54.2 MB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libxau6 amd64 1:1.0.8-1 [20.7 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libssl1.1 amd64 1.1.0f-3 [1342 kB]
Get:5 http://nginx.org/packages/mainline/debian stretch/nginx amd64 nginx amd64 1.13.1-1stretch [792 kB]
Get:8 http://nginx.org/packages/mainline/debian stretch/nginx amd64 nginx-module-geoip amd64 1.13.1-1
stretch [71.0 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 gettext-base amd64 0.19.8.1-2 [121 kB]
Err:3 http://deb.debian.org/debian stretch/main amd64 gettext-base amd64 0.19.8.1-2
Hash Sum mismatch
Hashes of expected file:

  • SHA256:8f629f743bf0db8944daa358a6451406ea68ec63bea85348ccf055b80d4f3e54
  • MD5Sum:97b534dcf5599d629d1cfa5a8c68ebc5 [weak]
  • Filesize:121338 [weak]
    Hashes of received file:
  • SHA256:5afd2e7505bfc9845a8a46f9dcd72983f8d2a3d33be36d071b4e3bcdf215786c
  • MD5Sum:6d305a006d5af45dba096cc7b512b7e9 [weak]
  • Filesize:279722 [weak]
    Last modification reported: Mon, 09 Jan 2017 21:44:33 +0000
    Get:4 http://deb.debian.org/debian stretch/main amd64 libicu57 amd64 57.1-6 [7701 kB]
    Err:4 http://deb.debian.org/debian stretch/main amd64 libicu57 amd64 57.1-6
    Hash Sum mismatch
    Hashes of expected file:
  • SHA256:6d44f35bfc8b9a4c9040a420b72fa41fdb533490025c301d67c59ae8ff6d23f1
  • MD5Sum:5dcf0e06d17a7da272497b202c956131 [weak]
  • Filesize:7701442 [weak]
    Hashes of received file:
  • SHA256:9646d69eefce505407bf0437ea12fb7c2d47a3fd4434720ba46b642b6dcfd80f
  • MD5Sum:dcbddc0d282854cfd7d43fb8071f18a0 [weak]
  • Filesize:30964 [weak]
    Last modification reported: Thu, 23 Feb 2017 23:29:56 +0000
    Get:6 http://deb.debian.org/debian stretch/main amd64 libxml2 amd64 2.9.4+dfsg1-2.2+deb9u1 [920 kB]
    Err:6 http://deb.debian.org/debian stretch/main amd64 libxml2 amd64 2.9.4+dfsg1-2.2+deb9u1
    Hash Sum mismatch
    Hashes of expected file:
  • SHA256:ae2e74a33ea43d59d4a8294dd15a4ad4caeb059075968166cd3fd161167c5f2e
  • MD5Sum:d7f38e00685687502743bec5818875ea [weak]
  • Filesize:919596 [weak]
    Hashes of received file:
  • SHA256:8e4ac54fe770ff84c4b596e5e66dacc94efad08940fa354a8c112db06c67d588
  • MD5Sum:4d16b7e1e27f0848934ffc70b38c3054 [weak]
  • Filesize:330666 [weak]
    Last modification reported: Sat, 25 Feb 2017 00:40:21 +0000
    Get:7 http://deb.debian.org/debian stretch/main amd64 ucf all 3.0036 [70.2 kB]
    Err:7 http://deb.debian.org/debian stretch/main amd64 ucf all 3.0036
    Writing more data than expected (70234 > 70208) [IP: 151.101.64.204 80]
    Hashes of expected file:
  • SHA256:796a65e765d6045007175531d512c720f4eb04e7f3326b79b848bc6123947225
  • MD5Sum:cf52d38544ced38f5face9c203db62fc [weak]
  • Filesize:70208 [weak]
    Get:9 http://deb.debian.org/debian stretch/main amd64 fonts-dejavu-core all 2.37-1 [1068 kB]
    Get:6 http://security.debian.org stretch/updates/main amd64 libxml2 amd64 2.9.4+dfsg1-2.2+deb9u1 [920 kB]
    Err:9 http://deb.debian.org/debian stretch/main amd64 fonts-dejavu-core all 2.37-1
    Hash Sum mismatch
    Hashes of expected file:
  • SHA256:58d21a255606191e6512cca51f32c4480e7a798945cc980623377696acfa3cfc
  • MD5Sum:5f413fbf5c17b6417affa23aafe587ee [weak]
  • Filesize:1068028 [weak]
    Hashes of received file:
  • SHA256:9646d69eefce505407bf0437ea12fb7c2d47a3fd4434720ba46b642b6dcfd80f
  • MD5Sum:dcbddc0d282854cfd7d43fb8071f18a0 [weak]
  • Filesize:30964 [weak]
    Last modification reported: Thu, 23 Feb 2017 23:29:56 +0000
    Get:19 http://nginx.org/packages/mainline/debian stretch/nginx amd64 nginx-module-image-filter amd64 1.13.1-1~stretch [74.9 kB]
    Get:10 http://deb.debian.org/debian stretch/main amd64 fontconfig-config all 2.11.0-6.7 [271 kB]
    Err:10 http://deb.debian.org/debian stretch/main amd64 fontconfig-config all 2.11.0-6.7
    Hash Sum mismatch
    Hashes of expected file:
  • SHA256:8226e3a525fef6aee3268929d15ed8352a7edfa263b8f70e3eb1a0962e772e27
  • MD5Sum:4abf3de1c1ed2829104406f0f9045dfb [weak]
  • Filesize:271184 [weak]
    Hashes of received file:
  • SHA256:1457671e46cfab7548ff0f7c4c3bfc9c8484bc8780fd7630b37f076b93500210
  • MD5Sum:dbd7cbab9ea6c5c44fad0da25decba97 [weak]
  • Filesize:237022 [weak]
    Last modification reported: Wed, 05 Jul 2017 21:12:05 +0000
    Get:11 http://deb.debian.org/debian stretch/main amd64 libbsd0 amd64 0.8.3-1 [83.0 kB]
    Err:11 http://deb.debian.org/debian stretch/main amd64 libbsd0 amd64 0.8.3-1
    Writing more data than expected (94850 > 82970) [IP: 151.101.64.204 80]
    Hashes of expected file:
  • SHA256:030e441cc6368041536a69adcaed6b4f4a37e0145817fc3eff16f37e3a81ecae
  • MD5Sum:52e4d7e2dd4424dad942235390da251f [weak]
  • Filesize:82970 [weak]
    Get:12 http://deb.debian.org/debian stretch/main amd64 libexpat1 amd64 2.2.0-2+deb9u1 [83.4 kB]
    Err:12 http://deb.debian.org/debian stretch/main amd64 libexpat1 amd64 2.2.0-2+deb9u1
    Hash Sum mismatch
    Hashes of expected file:
  • SHA256:9275558361d2fdbb6e3caa10afd34b93253889b5e4d4e40af8ff4b0d42287b32
  • MD5Sum:ea76d337138f0ee552cf88e075854c08 [weak]
  • Filesize:83402 [weak]
    Hashes of received file:
  • SHA256:ecb8536f5fb34543b55bb9dc5f5b14c9dbb4150a7bddb3f2287b7cab6e9d25ef
  • MD5Sum:4a27341c3dfb3067bc473fc241144ca9 [weak]
  • Filesize:26344 [weak]
    Last modification reported: Thu, 02 Mar 2017 15:26:41 +0000
    Get:12 http://security.debian.org stretch/updates/main amd64 libexpat1 amd64 2.2.0-2+deb9u1 [83.4 kB]
    Get:13 http://deb.debian.org/debian stretch/main amd64 libpng16-16 amd64 1.6.28-1 [280 kB]
    Get:20 http://nginx.org/packages/mainline/debian stretch/nginx amd64 nginx-module-njs amd64 1.13.1.0.1.10-1~stretch [175 kB]
    Err:13 http://deb.debian.org/debian stretch/main amd64 libpng16-16 amd64 1.6.28-1
    Hash Sum mismatch
    Hashes of expected file:
  • SHA256:5afd2e7505bfc9845a8a46f9dcd72983f8d2a3d33be36d071b4e3bcdf215786c
  • MD5Sum:6d305a006d5af45dba096cc7b512b7e9 [weak]
  • Filesize:279722 [weak]
    Hashes of received file:
  • SHA256:358ac6d450042d1792e3b2093ed73530774e6bd7600536a2acc327b83b201384
  • MD5Sum:54bf27ecea6ece4ab315aa068f87cdb3 [weak]
  • Filesize:132952 [weak]
    Last modification reported: Sun, 25 Sep 2016 03:14:35 +0000
    Get:14 http://deb.debian.org/debian stretch/main amd64 libfreetype6 amd64 2.6.3-3.2 [438 kB]
    Err:14 http://deb.debian.org/debian stretch/main amd64 libfreetype6 amd64 2.6.3-3.2
    Hash Sum mismatch
    Hashes of expected file:
  • SHA256:4fd6eb9c7f5d06a6cc2a7c35966aa8c06289f0cb599e0b291be235c63f28db1a
  • MD5Sum:13b1b8e9b0026dd3f86dc09f366a67fb [weak]
  • Filesize:437584 [weak]
    Hashes of received file:
  • SHA256:6e15bcebc004532351f75b4cec6ed1158bd8e142260650c75b29264045388099
  • MD5Sum:a34f421db629ab338ca0b4ae2b756d0e [weak]
  • Filesize:290330 [weak]
    Last modification reported: Fri, 27 Jan 2017 23:58:24 +0000
    Get:21 http://nginx.org/packages/mainline/debian stretch/nginx amd64 nginx-module-xslt amd64 1.13.1-1~stretch [72.4 kB]
    Get:15 http://deb.debian.org/debian stretch/main amd64 libfontconfig1 amd64 2.11.0-6.7+b1 [331 kB]
    Err:15 http://deb.debian.org/debian stretch/main amd64 libfontconfig1 amd64 2.11.0-6.7+b1
    Writing more data than expected (332322 > 330666) [IP: 151.101.64.204 80]
    Hashes of expected file:
  • SHA256:8e4ac54fe770ff84c4b596e5e66dacc94efad08940fa354a8c112db06c67d588
  • MD5Sum:4d16b7e1e27f0848934ffc70b38c3054 [weak]
  • Filesize:330666 [weak]
    Get:16 http://deb.debian.org/debian stretch/main amd64 libjpeg62-turbo amd64 1:1.5.1-2 [134 kB]
    Err:16 http://deb.debian.org/debian stretch/main amd64 libjpeg62-turbo amd64 1:1.5.1-2
    Hash Sum mismatch
    Hashes of expected file:
  • SHA256:55b4208bca9e772cd3d6e6a3f6bf3949d170e6da77e53b0ba59abb8f1658bb64
  • MD5Sum:7bb1d42b2a29e2d74ffcd761ac5e3c33 [weak]
  • Filesize:133710 [weak]
    Hashes of received file:
  • SHA256:49e64f0923cdecb2aaf6c93f176c25f63b841da2a501651ae23070f998967aa7
  • MD5Sum:9a3fa4dfaa50235f3f05824b681c4fb3 [weak]
  • Filesize:49084 [weak]
    Last modification reported: Thu, 22 Dec 2016 16:59:34 +0000
    Get:17 http://deb.debian.org/debian stretch/main amd64 libjbig0 amd64 2.1-3.1+b2 [31.0 kB]
    Err:17 http://deb.debian.org/debian stretch/main amd64 libjbig0 amd64 2.1-3.1+b2
    Writing more data than expected (31140 > 30964) [IP: 151.101.64.204 80]
    Hashes of expected file:
  • SHA256:9646d69eefce505407bf0437ea12fb7c2d47a3fd4434720ba46b642b6dcfd80f
  • MD5Sum:dcbddc0d282854cfd7d43fb8071f18a0 [weak]
  • Filesize:30964 [weak]
    Get:18 http://deb.debian.org/debian stretch/main amd64 libtiff5 amd64 4.0.8-2+deb9u1 [237 kB]
    Err:18 http://deb.debian.org/debian stretch/main amd64 libtiff5 amd64 4.0.8-2+deb9u1
    Hash Sum mismatch
    Hashes of expected file:
  • SHA256:1457671e46cfab7548ff0f7c4c3bfc9c8484bc8780fd7630b37f076b93500210
  • MD5Sum:dbd7cbab9ea6c5c44fad0da25decba97 [weak]
  • Filesize:237022 [weak]
    Hashes of received file:
  • SHA256:df827b33b796dc047ec37b748659299e3689c8f2ad2882f4f20390d24b5b0419
  • MD5Sum:f0449cc0ab442c7ac0cf39e45450c6ba [weak]
  • Filesize:233250 [weak]
    Last modification reported: Tue, 28 Mar 2017 18:26:13 +0000
    Get:18 http://security.debian.org stretch/updates/main amd64 libtiff5 amd64 4.0.8-2+deb9u1 [237 kB]
    Get:22 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libwebp6 amd64 0.5.2-1 [235 kB]
    Get:23 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libxdmcp6 amd64 1:1.1.2-3 [26.3 kB]
    Get:24 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libxcb1 amd64 1.12-1 [133 kB]
    Get:25 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libx11-data all 2:1.6.4-3 [290 kB]
    Get:26 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libx11-6 amd64 2:1.6.4-3 [747 kB]
    Get:27 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libxpm4 amd64 1:3.5.12-1 [49.1 kB]
    Get:28 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libgd3 amd64 2.2.4-2+deb9u2 [132 kB]
    Get:29 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libgeoip1 amd64 1.6.9-4 [90.5 kB]
    Get:30 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libxslt1.1 amd64 1.1.29-2.1 [233 kB]
    �[91mE: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/libp/libpng1.6/libpng16-16_1.6.28-1_amd64.deb Hash Sum mismatch
    Hashes of expected file:
    - SHA256:8f629f743bf0db8944daa358a6451406ea68ec63bea85348ccf055b80d4f3e54
    - MD5Sum:97b534dcf5599d629d1cfa5a8c68ebc5 [weak]
    - Filesize:121338 [weak]
    Hashes of received file:
    - SHA256:5afd2e7505bfc9845a8a46f9dcd72983f8d2a3d33be36d071b4e3bcdf215786c
    - MD5Sum:6d305a006d5af45dba096cc7b512b7e9 [weak]
    - Filesize:279722 [weak]
    Last modification reported: Mon, 09 Jan 2017 21:44:33 +0000
    E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/f/freetype/libfreetype6_2.6.3-3.2_amd64.deb Hash Sum mismatch
    Hashes of expected file:
    - SHA256:6d44f35bfc8b9a4c9040a420b72fa41fdb533490025c301d67c59ae8ff6d23f1
    - MD5Sum:5dcf0e06d17a7da272497b202c956131 [weak]
    - Filesize:7701442 [weak]
    Hashes of received file:
    - SHA256:9646d69eefce505407bf0437ea12fb7c2d47a3fd4434720ba46b642b6dcfd80f
    - MD5Sum:dcbddc0d282854cfd7d43fb8071f18a0 [weak]
    - Filesize:30964 [weak]
    Last modification reported: Thu, 23 Feb 2017 23:29:56 +0000
    E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_amd64.deb Writing more data than expected (70234 > 70208) [IP: 151.101.64.204 80]
    Hashes of expected file:
    - SHA256:796a65e765d6045007175531d512c720f4eb04e7f3326b79b848bc6123947225
    - MD5Sum:cf52d38544ced38f5face9c203db62fc [weak]
    - Filesize:70208 [weak]
    �[0m�[91mE: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/j/jbigkit/libjbig0_2.1-3.1+b2_amd64.deb Hash Sum mismatch
    Hashes of expected file:
    - SHA256:58d21a255606191e6512cca51f32c4480e7a798945cc980623377696acfa3cfc
    - MD5Sum:5f413fbf5c17b6417affa23aafe587ee [weak]
    - Filesize:1068028 [weak]
    Hashes of received file:
    - SHA256:9646d69eefce505407bf0437ea12fb7c2d47a3fd4434720ba46b642b6dcfd80f
    - MD5Sum:dcbddc0d282854cfd7d43fb8071f18a0 [weak]
    - Filesize:30964 [weak]
    Last modification reported: Thu, 23 Feb 2017 23:29:56 +0000
    E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/t/tiff/libtiff5_4.0.8-2+deb9u1_amd64.deb Hash Sum mismatch
    Hashes of expected file:
    - SHA256:8226e3a525fef6aee3268929d15ed8352a7edfa263b8f70e3eb1a0962e772e27
    - MD5Sum:4abf3de1c1ed2829104406f0f9045dfb [weak]
    - Filesize:271184 [weak]
    Hashes of received file:
    - SHA256:1457671e46cfab7548ff0f7c4c3bfc9c8484bc8780fd7630b37f076b93500210
    - MD5Sum:dbd7cbab9ea6c5c44fad0da25decba97 [weak]
    - Filesize:237022 [weak]
    Last modification reported: Wed, 05 Jul 2017 21:12:05 +0000
    E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/libw/libwebp/libwebp6_0.5.2-1_amd64.deb Writing more data than expected (94850 > 82970) [IP: 151.101.64.204 80]
    Hashes of expected file:�[0mFetched 7365 kB in 1min 6s (110 kB/s)
    �[91m
    - SHA256:030e441cc6368041536a69adcaed6b4f4a37e0145817fc3eff16f37e3a81ecae
    �[0m�[91m - MD5Sum:52e4d7e2dd4424dad942235390da251f [weak]�[0m�[91m
    - Filesize:82970 [weak]
    E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/libx/libxcb/libxcb1_1.12-1_amd64.deb Hash Sum mismatch
    Hashes of expected file:
    - SHA256:5afd2e7505bfc9845a8a46f9dcd72983f8d2a3d33be36d071b4e3bcdf215786c
    - MD5Sum:6d305a006d5af45dba096cc7b512b7e9 [weak]
    - Filesize:279722 [weak]
    Hashes of received file:
    - SHA256:358ac6d450042d1792e3b2093ed73530774e6bd7600536a2acc327b83b201384
    - MD5Sum:54bf27ecea6ece4ab315aa068f87cdb3 [weak]
    �[0m�[91m - Filesize:132952 [weak]
    Last modification reported: Sun, 25 Sep 2016 03:14:35 +0000
    E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/libx/libx11/libx11-data_1.6.4-3_all.deb Hash Sum mismatch
    Hashes of expected file:
    - SHA256:4fd6eb9c7f5d06a6cc2a7c35966aa8c06289f0cb599e0b291be235c63f28db1a
    - MD5Sum:13b1b8e9b0026dd3f86dc09f366a67fb [weak]
    - Filesize:437584 [weak]
    Hashes of received file:
    - SHA256:6e15bcebc004532351f75b4cec6ed1158bd8e142260650c75b29264045388099
    - MD5Sum:a34f421db629ab338ca0b4ae2b756d0e [weak]
    - Filesize:290330 [weak]
    Last modification reported: Fri, 27 Jan 2017 23:58:24 +0000
    E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/libx/libx11/libx11-6_1.6.4-3_amd64.deb Writing more data than expected (332322 > 330666) [IP: 151.101.64.204 80]
    �[0m�[91mHashes of expected file:�[0m�[91m
    �[0m�[91m - SHA256:8e4ac54fe770ff84c4b596e5e66dacc94efad08940fa354a8c112db06c67d588
    - MD5Sum:4d16b7e1e27f0848934ffc70b38c3054 [weak]
    - Filesize:330666 [weak]
    E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/libx/libxpm/libxpm4_3.5.12-1_amd64.deb Hash Sum mismatch
    Hashes of expected file:
    - SHA256:55b4208bca9e772cd3d6e6a3f6bf3949d170e6da77e53b0ba59abb8f1658bb64
    - MD5Sum:7bb1d42b2a29e2d74ffcd761ac5e3c33 [weak]
    - Filesize:133710 [weak]
    Hashes of received file:
    - SHA256:49e64f0923cdecb2aaf6c93f176c25f63b841da2a501651ae23070f998967aa7
    - MD5Sum:9a3fa4dfaa50235f3f05824b681c4fb3 [weak]
    - Filesize:49084 [weak]�[0m�[91m
    Last modification reported: Thu, 22 Dec 2016 16:59:34 +0000
    E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/g/geoip/libgeoip1_1.6.9-4_amd64.deb Writing more data than expected (31140 > 30964) [IP: 151.101.64.204 80]
    Hashes of expected file:
    - SHA256:9646d69eefce505407bf0437ea12fb7c2d47a3fd4434720ba46b642b6dcfd80f
    - MD5Sum:dcbddc0d282854cfd7d43fb8071f18a0 [weak]
    - Filesize:30964 [weak]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    �[0m`

Replace mysql examples with mariadb

The mysql image doesn't have the same tools it used to have in my videos. Replace with the official mariadb image in the lectures and code. mariadb is a MySQL fork and should be a plug-and-play replacement.

https://hub.docker.com/_/mariadb

Lecture's to replace or precede with info

Original Q&A (one of many)

elasticsearch DNS round-robin example doesn't work on arm

elasticsearch:2 is not available on arm, and later versions require complex setup steps that we don't want when learning a simple DNS feature, so let's replace that container with httpenv, which has the same effect in learning without the complexity of elasticsearch.

Original Q&A

Postgres healthchecks need passwords

In line with 2020 changes to the Postgres images requiring POSTGRES_PASSWORD, healthchecks with pg_isready need a password too.

Tasks

  • Update Docker Mastery Lecture 80 "Healthchecks in Dockerfiles" with new healthcheck commands
  • Replace same lecture in Swarm Mastery
  • Move all the slide command examples to this repo, rather than it being in just a keynote slide

Original Q&A

compose-sample-2

when we run
docker-compose up
ERROR: for compose-sample-2_proxy_1 Cannot start service proxy: driver failed programming external connectivity on endpoint compose-sample-2_proxy_1 (90a4c76e044c3427fe25fc5632a9cc427265a68e6ef8f825818645cfaa637a92): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address alreStarting compose-sample-2_web_1 ... done

ERROR: for proxy Cannot start service proxy: driver failed programming external connectivity on endpoint compose-sample-2_proxy_1 (90a4c76e044c3427fe25fc5632a9cc427265a68e6ef8f825818645cfaa637a92): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
ERROR: Encountered errors while bringing up the project.

Registry lectures don't work past 2.7

I use PWD training to walk students through installing a local registry and then doing the same with a self-signed cert. Something's changed since 2.7 release, so I need to debug and update existing lectures.

Student says:

Still not corrected and in play with docker it is also wrong. this works:
docker run --entrypoint htpasswd registry:2.7.0 -Bbn moby gordon > auth/htpasswd

Future improvement: Don't bother with TLS in this simple registry deployment, but rather move from simple local registry HTTP to a Harbor section.

For reference

PWD Registry for Linux Part 1, Part 2 & 3

Docker's reg docs

Origional Q&A

Q&A suggesting hints until I get this fixed

Kubernetes >= 1.18 breaks run commands in multiple lectures

Multiple lectures need to be replaced due to kubectl run only creating pods in version 1.18 and newer. All supported course distros have updated to at least 1.18. It's now time to fix the lecture videos.

dockerfile-assignment-1 needs a README and Node update

In Section 4, Assignment: Build Your Own Dockerfile and Run Containers From it, there is no README.md, and the video is the only location of instructions. The answer video shows tini at a different location. We need a better way to let people know of the slight change.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.