How to configure Docker max-concurrent-uploads on QNAP
How do I configure Docker on my QNAP TS-131P so that it only uploads one layer at time ?
I have a problem pushing an image because it is trying to push multiple layers concurrently and they keep failing because of a poor internet connection.
According to How to push single docker image layers at time? I need to configure daemon to use max-concurrent-uploads but I don't understand how I do this within the context of qnap.
[~] # docker -v
Docker version 17.09.1-ce, build a9fd393
[~] # which docker
/share/CACHEDEV1_DATA/.qpkg/container-station/bin/docker
docker qnap
|
show 5 more comments
How do I configure Docker on my QNAP TS-131P so that it only uploads one layer at time ?
I have a problem pushing an image because it is trying to push multiple layers concurrently and they keep failing because of a poor internet connection.
According to How to push single docker image layers at time? I need to configure daemon to use max-concurrent-uploads but I don't understand how I do this within the context of qnap.
[~] # docker -v
Docker version 17.09.1-ce, build a9fd393
[~] # which docker
/share/CACHEDEV1_DATA/.qpkg/container-station/bin/docker
docker qnap
How did you install docker on it? Knowing that might help find out how to change config. Also docker -v (just in case).
– jacob.mccrumb
Nov 17 '18 at 13:24
I think its just gets installed as part of installing ContainerStation package, then if i sshed to qnap it was available.
– Paul Taylor
Nov 18 '18 at 17:15
Hmm ok. For the record I have never used a qnap device but more then willing to try and help! It does look like docker is installed by ContainerStation, there is a good chance there is a config file out there just need to find out where. Not sure if these preferences are relavent: ContainerStationReference -- if you can dowhich docker
after ssh'ing that might help locate where docker is called from and thus where the config is?
– jacob.mccrumb
Nov 20 '18 at 3:27
@jacob, thanks I have run cmd and added to question. As I did a reboot i can confirm Docker only runs if ContainerStation is installed and has been started.I need to do this in order to build arm version of image.
– Paul Taylor
Nov 20 '18 at 10:41
Okay so can you check for a file: /share/CACHEDEV1_DATA/.qpkg/container-station/script/run-docker.sh -- looks like this might be the script that starts it all. Also if there is a directory /etc/docker then you can follow advice from the original thread with respect to Ubuntu: daemon.json
– jacob.mccrumb
Nov 21 '18 at 2:07
|
show 5 more comments
How do I configure Docker on my QNAP TS-131P so that it only uploads one layer at time ?
I have a problem pushing an image because it is trying to push multiple layers concurrently and they keep failing because of a poor internet connection.
According to How to push single docker image layers at time? I need to configure daemon to use max-concurrent-uploads but I don't understand how I do this within the context of qnap.
[~] # docker -v
Docker version 17.09.1-ce, build a9fd393
[~] # which docker
/share/CACHEDEV1_DATA/.qpkg/container-station/bin/docker
docker qnap
How do I configure Docker on my QNAP TS-131P so that it only uploads one layer at time ?
I have a problem pushing an image because it is trying to push multiple layers concurrently and they keep failing because of a poor internet connection.
According to How to push single docker image layers at time? I need to configure daemon to use max-concurrent-uploads but I don't understand how I do this within the context of qnap.
[~] # docker -v
Docker version 17.09.1-ce, build a9fd393
[~] # which docker
/share/CACHEDEV1_DATA/.qpkg/container-station/bin/docker
docker qnap
docker qnap
edited Nov 20 '18 at 10:40
Paul Taylor
asked Nov 2 '18 at 17:01
Paul TaylorPaul Taylor
1,8272599213
1,8272599213
How did you install docker on it? Knowing that might help find out how to change config. Also docker -v (just in case).
– jacob.mccrumb
Nov 17 '18 at 13:24
I think its just gets installed as part of installing ContainerStation package, then if i sshed to qnap it was available.
– Paul Taylor
Nov 18 '18 at 17:15
Hmm ok. For the record I have never used a qnap device but more then willing to try and help! It does look like docker is installed by ContainerStation, there is a good chance there is a config file out there just need to find out where. Not sure if these preferences are relavent: ContainerStationReference -- if you can dowhich docker
after ssh'ing that might help locate where docker is called from and thus where the config is?
– jacob.mccrumb
Nov 20 '18 at 3:27
@jacob, thanks I have run cmd and added to question. As I did a reboot i can confirm Docker only runs if ContainerStation is installed and has been started.I need to do this in order to build arm version of image.
– Paul Taylor
Nov 20 '18 at 10:41
Okay so can you check for a file: /share/CACHEDEV1_DATA/.qpkg/container-station/script/run-docker.sh -- looks like this might be the script that starts it all. Also if there is a directory /etc/docker then you can follow advice from the original thread with respect to Ubuntu: daemon.json
– jacob.mccrumb
Nov 21 '18 at 2:07
|
show 5 more comments
How did you install docker on it? Knowing that might help find out how to change config. Also docker -v (just in case).
– jacob.mccrumb
Nov 17 '18 at 13:24
I think its just gets installed as part of installing ContainerStation package, then if i sshed to qnap it was available.
– Paul Taylor
Nov 18 '18 at 17:15
Hmm ok. For the record I have never used a qnap device but more then willing to try and help! It does look like docker is installed by ContainerStation, there is a good chance there is a config file out there just need to find out where. Not sure if these preferences are relavent: ContainerStationReference -- if you can dowhich docker
after ssh'ing that might help locate where docker is called from and thus where the config is?
– jacob.mccrumb
Nov 20 '18 at 3:27
@jacob, thanks I have run cmd and added to question. As I did a reboot i can confirm Docker only runs if ContainerStation is installed and has been started.I need to do this in order to build arm version of image.
– Paul Taylor
Nov 20 '18 at 10:41
Okay so can you check for a file: /share/CACHEDEV1_DATA/.qpkg/container-station/script/run-docker.sh -- looks like this might be the script that starts it all. Also if there is a directory /etc/docker then you can follow advice from the original thread with respect to Ubuntu: daemon.json
– jacob.mccrumb
Nov 21 '18 at 2:07
How did you install docker on it? Knowing that might help find out how to change config. Also docker -v (just in case).
– jacob.mccrumb
Nov 17 '18 at 13:24
How did you install docker on it? Knowing that might help find out how to change config. Also docker -v (just in case).
– jacob.mccrumb
Nov 17 '18 at 13:24
I think its just gets installed as part of installing ContainerStation package, then if i sshed to qnap it was available.
– Paul Taylor
Nov 18 '18 at 17:15
I think its just gets installed as part of installing ContainerStation package, then if i sshed to qnap it was available.
– Paul Taylor
Nov 18 '18 at 17:15
Hmm ok. For the record I have never used a qnap device but more then willing to try and help! It does look like docker is installed by ContainerStation, there is a good chance there is a config file out there just need to find out where. Not sure if these preferences are relavent: ContainerStationReference -- if you can do
which docker
after ssh'ing that might help locate where docker is called from and thus where the config is?– jacob.mccrumb
Nov 20 '18 at 3:27
Hmm ok. For the record I have never used a qnap device but more then willing to try and help! It does look like docker is installed by ContainerStation, there is a good chance there is a config file out there just need to find out where. Not sure if these preferences are relavent: ContainerStationReference -- if you can do
which docker
after ssh'ing that might help locate where docker is called from and thus where the config is?– jacob.mccrumb
Nov 20 '18 at 3:27
@jacob, thanks I have run cmd and added to question. As I did a reboot i can confirm Docker only runs if ContainerStation is installed and has been started.I need to do this in order to build arm version of image.
– Paul Taylor
Nov 20 '18 at 10:41
@jacob, thanks I have run cmd and added to question. As I did a reboot i can confirm Docker only runs if ContainerStation is installed and has been started.I need to do this in order to build arm version of image.
– Paul Taylor
Nov 20 '18 at 10:41
Okay so can you check for a file: /share/CACHEDEV1_DATA/.qpkg/container-station/script/run-docker.sh -- looks like this might be the script that starts it all. Also if there is a directory /etc/docker then you can follow advice from the original thread with respect to Ubuntu: daemon.json
– jacob.mccrumb
Nov 21 '18 at 2:07
Okay so can you check for a file: /share/CACHEDEV1_DATA/.qpkg/container-station/script/run-docker.sh -- looks like this might be the script that starts it all. Also if there is a directory /etc/docker then you can follow advice from the original thread with respect to Ubuntu: daemon.json
– jacob.mccrumb
Nov 21 '18 at 2:07
|
show 5 more comments
1 Answer
1
active
oldest
votes
After much digging,
Looks like container-station is using same location as Linux systems for dockerd config file. Should work by adding a file:
/etc/docker/daemon.json
with:
{
"max-concurrent-uploads": 1
}
from how-to-push-single-docker-image-layers-at-time
Alternatively, if the script for starting up docker used by container station (/share/CACHEDEV1_DATA/.qpkg/container-station/script/run-docker.sh
) has a line including dockerd, you could add the command line argument --max-concurrent-uploads=1
to that line.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53122944%2fhow-to-configure-docker-max-concurrent-uploads-on-qnap%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
After much digging,
Looks like container-station is using same location as Linux systems for dockerd config file. Should work by adding a file:
/etc/docker/daemon.json
with:
{
"max-concurrent-uploads": 1
}
from how-to-push-single-docker-image-layers-at-time
Alternatively, if the script for starting up docker used by container station (/share/CACHEDEV1_DATA/.qpkg/container-station/script/run-docker.sh
) has a line including dockerd, you could add the command line argument --max-concurrent-uploads=1
to that line.
add a comment |
After much digging,
Looks like container-station is using same location as Linux systems for dockerd config file. Should work by adding a file:
/etc/docker/daemon.json
with:
{
"max-concurrent-uploads": 1
}
from how-to-push-single-docker-image-layers-at-time
Alternatively, if the script for starting up docker used by container station (/share/CACHEDEV1_DATA/.qpkg/container-station/script/run-docker.sh
) has a line including dockerd, you could add the command line argument --max-concurrent-uploads=1
to that line.
add a comment |
After much digging,
Looks like container-station is using same location as Linux systems for dockerd config file. Should work by adding a file:
/etc/docker/daemon.json
with:
{
"max-concurrent-uploads": 1
}
from how-to-push-single-docker-image-layers-at-time
Alternatively, if the script for starting up docker used by container station (/share/CACHEDEV1_DATA/.qpkg/container-station/script/run-docker.sh
) has a line including dockerd, you could add the command line argument --max-concurrent-uploads=1
to that line.
After much digging,
Looks like container-station is using same location as Linux systems for dockerd config file. Should work by adding a file:
/etc/docker/daemon.json
with:
{
"max-concurrent-uploads": 1
}
from how-to-push-single-docker-image-layers-at-time
Alternatively, if the script for starting up docker used by container station (/share/CACHEDEV1_DATA/.qpkg/container-station/script/run-docker.sh
) has a line including dockerd, you could add the command line argument --max-concurrent-uploads=1
to that line.
answered Nov 22 '18 at 15:06
jacob.mccrumbjacob.mccrumb
501216
501216
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53122944%2fhow-to-configure-docker-max-concurrent-uploads-on-qnap%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
How did you install docker on it? Knowing that might help find out how to change config. Also docker -v (just in case).
– jacob.mccrumb
Nov 17 '18 at 13:24
I think its just gets installed as part of installing ContainerStation package, then if i sshed to qnap it was available.
– Paul Taylor
Nov 18 '18 at 17:15
Hmm ok. For the record I have never used a qnap device but more then willing to try and help! It does look like docker is installed by ContainerStation, there is a good chance there is a config file out there just need to find out where. Not sure if these preferences are relavent: ContainerStationReference -- if you can do
which docker
after ssh'ing that might help locate where docker is called from and thus where the config is?– jacob.mccrumb
Nov 20 '18 at 3:27
@jacob, thanks I have run cmd and added to question. As I did a reboot i can confirm Docker only runs if ContainerStation is installed and has been started.I need to do this in order to build arm version of image.
– Paul Taylor
Nov 20 '18 at 10:41
Okay so can you check for a file: /share/CACHEDEV1_DATA/.qpkg/container-station/script/run-docker.sh -- looks like this might be the script that starts it all. Also if there is a directory /etc/docker then you can follow advice from the original thread with respect to Ubuntu: daemon.json
– jacob.mccrumb
Nov 21 '18 at 2:07