37

It turned out that the Moby Project has a shell script on the Moby Github which can download images from Docker Hub in a format that can be imported into Docker: download-frozen-image-v2.sh The usage syntax for the script is given by the following: download-frozen-image-v2.sh target_dir image[:tag][@digest] ... The image can then be imported with tar and ...


11

There is a tool called Skopeo which can retrieve Docker images from a repository and save them in several formats. For example: Download the image and save the layers as a tarball: skopeo copy docker://ubuntu docker-archive:/tmp/ubuntu.tar:ubuntu Transfer /tmp/ubuntu.tar to another machine if desired. Load the image on a Docker instance which does not have ...


5

GNU make can be found in the gcc container. Compile your app inside the Docker container There may be occasions where it is not appropriate to run your app inside a container. To compile, but not run your app inside the Docker instance, you can write something like: $ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp gcc:4.9 gcc -o myapp ...


5

If you're looking for a master list of all images and sizes, kind of a 'statistics' pages, Docker Hub doesn't have that. You'll need to use their HTTP API to: get all the repositories, stepping through the paginated results. API reference: https://docs.docker.com/registry/spec/api/#listing-repositories pull the Image Manifest for each repo. API reference: ...


4

thanks for motivation. I made a powershell version of it. Check it out... With it you can move in dockerhub containers to a restricted docker networks with a windows desktop and an ssh-scp tool to docker machine without root or administrator rights https://gitlab.com/Jancsoj78/dockerless_docker_downloader a new hacker tool :) $image = "ubuntu" $tag = "...


4

C:\Users\romain.prevost>docker info -f '{{.OSType}}/{{.Architecture}}' 'linux/x86_64' Now, if you are running Docker for Windows, right click the Docker icon in your tray, and select "Switch to windows containers" C:\Users\romain.prevost>docker info -f '{{.OSType}}/{{.Architecture}}' 'windows/x86_64' Voilà! Essentially, Docker for Windows includes ...


2

This is the example I was looking for: https://github.com/linkedin/Burrow/blob/master/docker-compose.yml


2

I can answer half of your question: If you have a set of images you're trying to investigate, the best way would be to use which in a new container using the image in question. This way you can quickly see if a particular image has the binaries your are looking for already on PATH: docker run --rm ubuntu:latest which zip git # no result docker run --rm ...


1

Look into Payara. It's a Glassfish fork/drop-in replacement that's better in most ways, including support. There is a Payara 5 docker image available right on docker hub: https://hub.docker.com/r/payara/server-full


1

Checkout Play with docker here. If you just started then it is best to install docker on your local machine to get more of a native experience and understanding of docker networks and overlays etc... and after that you can move on to any cloud like aws ECS service, azure etc....


1

horribly insecure: root $ root $ docker login Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one. Username: nicksaunders Password: WARNING! Your password will be stored unencrypted in /root/snap/docker/471/.docker/config.json. Configure a credential helper to ...


1

You can generate an access token for docker hub by going here: https://hub.docker.com/settings/security And creating a new access token. It's essentially the same process for organisational access tokens or for personal access tokens IIRC. Once you have generated the access token you can literally just use that token instead of the password for most ...


1

If you're married to Docker Hub, you could use a webhook to notify Travis of the need to start it's job. However, I solve this problem using Quay.io - it has the robot account (you refer to "service account") you need. It also has a richer set of notifications. You could maintain your current workflow using webhooks to create the repository on Quay or ...


1

Here is an adapted python script, thus having an OS independant solution: docker-drag Use it like that, and it will create a TAR archive that you will be able to import using docker load : python docker_pull.py hello-world python docker_pull.py alpine:3.9 python docker_pull.py kalilinux/kali-linux-docker


1

To me it is not completely clear what you are trying to achieve and why the attempts are not a solution for the problem. If I would need to solve this issue I would like @Tensibai and other Q&As indicated, do a docker pull first on a system with internet connectivity, save the docker image, copy it to the machine without internet connectivity, load the ...


1

Depending on what language you want to build with, you can try some of these containers: Python: lambci/lambda:build-python3.6 Nodejs: amaysim/serverless:1.23.0 Golang: amaysim/golang:1.8.3


Only top voted, non community-wiki answers of a minimum length are eligible