LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 11-26-2022, 06:38 AM   #1
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Rep: Reputation: 31
Unhappy Docker pull slow on linux or error occured


Dear all forumers, I had encountered slow download pull when using Almalinux 9.1 instead of MS Window 10. I don't know what is the root cause.

I try to docker pull same images at MS Window 10 and it is very fast, within few seconds it completed the download.

Sometimes error occured on linux.
Error response from daemon: error parsing HTTP 408 response body: invalid character '<' looking for beginning of value: "<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"



Please enlighten me.Thanks in advance.

Last edited by Peter_APIIT; 11-26-2022 at 06:46 AM.
 
Old 11-26-2022, 09:39 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,651

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by Peter_APIIT View Post
Dear all forumers, I had encountered slow download pull when using Almalinux 9.1 instead of MS Window 10. I don't know what is the root cause. I try to docker pull same images at MS Window 10 and it is very fast, within few seconds it completed the download. Sometimes error occured on linux.
Code:
Error response from daemon: error parsing HTTP 408 response body: invalid character '<' looking for beginning of value: "<html><body><h1>408 Request Time-out</h1>\nYour browser didn't
send a complete request in time.\n</body></html>\n"
Please enlighten me.Thanks in advance.
As with some of your other threads, it seems as if you didn't do any research before posting; read the "Question Guidelines" link in my posting signature. Some possible solutions in the Docker forums:
https://forums.docker.com/t/docker-p...aders/73064/36

Past that, you tell us nothing about your hardware/environment/etc., and we aren't going to guess.
 
Old 11-26-2022, 10:07 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,897

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
yes, it is extremely hard to tell. Probably you mistyped something, or some service was not configured properly or who knows? (if I need to guess you use files on linux which were created on windows - containing incorrect chars, but it is just a wild guess).
So we don't know the root cause too.
 
Old 11-26-2022, 02:53 PM   #4
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
I did the tricks mentioned in the docker forum like add resolv.conf and added proxy list to the /etc/systemd/docker.service.d/http-proxy.conf but it didn't help too.

Please help me as i really need a solution to it.
 
Old 11-26-2022, 06:02 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,651

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by Peter_APIIT View Post
I did the tricks mentioned in the docker forum like add resolv.conf and added proxy list to the /etc/systemd/docker.service.d/http-proxy.conf but it didn't help too. Please help me as i really need a solution to it.
Again, saying "didn't help" tells us absolutely nothing. You still tell us nothing about the things mentioned previously, so why do you think we'll be able to tell you anything further, when you provide no additional information???

See your numerous other threads where you're asking for relevant details; unless you provide them, there's nothing we can tell you.
 
Old 11-29-2022, 11:38 AM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,665
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
Please review and then carefully follow the guidelines for "how to post a question effectively." The devil is always in the details, and an "effective" opening post always takes quite some time to write. You must provide full details – of course, without passwords, actual IPs and so on – so that someone who knows nothing about your situation can immediately understand it and comment meaningfully, given only what you have written. When I read your original post, I like everyone else here "have nothing to go on."

For instance – "Show me your Dockerfile." Provide details about your host environment. Is there a network file system? If so, what type. Is there, as your post seems to imply, "one situation where it works fine, and another one where it doesn't?" The list goes on and on. The devil is in the details.

Forums like this one exist to be a source of reliable information. But, you have to know how to use them effectively. A well-composed original post can get a meaningful answer within an hour or less. An ineffectively crafted one is worthless to everyone.

Last edited by sundialsvcs; 11-29-2022 at 11:40 AM.
 
Old 11-30-2022, 01:27 AM   #7
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
Host Environment Alma Linux 9.1
Install docker via dnf install docker-ce command. I tried to check the /var/lib/docker but there is no dockerfile there. It has buildkit, containers, image, network and other files.
 
Old 11-30-2022, 03:23 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,897

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
Still useless. http://www.catb.org/~esr/faqs/smart-...html#beprecise
 
Old 12-01-2022, 08:21 PM   #9
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
You asking me to provide more information but never told me what information you need.
 
Old 12-01-2022, 09:14 PM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,651

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by Peter_APIIT View Post
You asking me to provide more information but never told me what information you need.
We aren't going to keep playing guessing games; if you are the administrator, you should know how to troubleshoot a problem. Post #2 had probable solutions from the Docker forums, which you either ignored, or didn't acknowledge.
 
Old 12-02-2022, 12:51 AM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,897

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
Quote:
Originally Posted by Peter_APIIT View Post
You asking me to provide more information but never told me what information you need.
It was written on the page I linked:
Code:
Describe the symptoms of your problem or bug carefully and clearly.
Describe the environment in which it occurs (machine, OS, application, whatever). Provide your vendor's distribution and release level (e.g.: “Fedora Core 7”, “Slackware 9.1”, etc.).
Describe the research you did to try and understand the problem before you asked the question.
Describe the diagnostic steps you took to try and pin down the problem yourself before you asked the question.
Describe any possibly relevant recent changes in your computer or software configuration.
If at all possible, provide a way to reproduce the problem in a controlled environment.
Describe means: tell us exactly what you know about it. Do not explain, do not guess, just show us (clearly) what did you enter, what's happened, what was the response and how did you configure/setup your system... "XXX does not work" is useless. "installed via dnf" is useless. Dropping in an error message without context is pointless.
Anyway, you know what's going on and you can only reach that host and gather any information.
 
1 members found this post helpful.
Old 05-24-2023, 02:08 AM   #12
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
The problem lies on firewall program. Firewalld. I disable the firewalld and works like a charm.
 
Old 05-24-2023, 02:15 AM   #13
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,897

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
Quote:
Originally Posted by Peter_APIIT View Post
The problem lies on firewall program. Firewalld. I disable the firewalld and works like a charm.
Now I think you understand. You did not tell us anything about your firewall, therefore we had no any idea about it (if it installed, configured....). Anyway, it looks like your problem is solved, therefore you might want to mark the thread as solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Docker pull slow on linux or error occured Peter_APIIT Linux - Containers 1 11-26-2022 06:41 AM
LXer: Difference between docker.io, docker-cd, and Docker Desktop LXer Syndicated Linux News 0 08-15-2022 05:39 PM
LXer: How To Install Docker And Pull Images From Docker Hub LXer Syndicated Linux News 0 10-26-2020 01:03 AM
[SOLVED] Error occured occured in execution of /var/cache/alps/scripts/systemd.sh FredBezies AryaLinux 11 05-11-2016 03:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration