Hot answers tagged

6

There is a protocol for this: RSS, Rich Site Summary. Technically, there are 3 protocols RSS, RSS2 and Atom, but most readers support all of them, and many servers mix RSS and RSS2 features. First, choose your RSS reader, from: browser add-ons like Feedbro, centralized aggregators like Feedly and FeedReader, stand-alone applications like RSSOwl mail ...


5

And then I start like this docker run -p 21:21 -it --rm 52c0b0362362 bash This would not work by design. When you run the image with the command above you are instructing Docker to overwrite the CMD instruction from your Dockerfile and therefore telling it to execute bash instead of sudo myprogram. It doesn't matter what you have set in the CMD instruction -...


3

Containerd is a daemon for running containers. The Docker blog has a nice write up explaining how this fits into Docker. While containerd is used in Docker, it can also be used as a daemon for other container solutions. Containerd requires runc in order to function. runc as defined by the project is a "CLI tool for spawning and running containers ...


3

I'd ask the question the other way around, rather than will Docker CE continue to share the Docker Enterprise codebase, it's whether Docker Enterprise will continue to share the upstream Docker CE / Moby codebase. They've always maintained an internal closed source fork for the Enterprise code, which has additional features. However, the development process ...


2

I've had good success with DZone: https://dzone.com/devops-tutorials-tools-news. This is a nice mix of articles, tutorials, and various publications. For Docker specific updates/news I follow: https://www.docker.com/blog/ Finally, for specific cloud platforms each one seems to have their own community blogers that post updates. For example: Amazon - ...


2

These are really the pitfalls as running a VM or traditional server with 32 bit CPUs. Most notably is memory addressing. 32 bit CPUs can only access up to 4 gigs of memory. This isn't something i would expect most containers have an issue with as they should be single, small, light applications. One thing that you might run into is any binary built ...


2

Probably not 100% comprehensive, but DevOps.com might fit the bill?


1

I realize these cover much broader ground, but I see lots of useful DevOps-related stories on https://slashdot.org/ and Hacker News. I also have created saved searches in Google News.


1

I think you may be using the wrong tool for the job. Docker is not designed to be a version control system, it is designed for containerization. Furthermore, your question makes it sound like the development and support team members are constantly changing the files that are essential to the makeup of the image. This makes using a volume pointless as the ...


1

Seems like, because the application has security enabled, the health check was not able to hit the / endpoint and the health check was failing. When I removed the health check block I was able to access the application. I'll add a globally-open health check endpoint and that should fix the problem I think.


1

I'm also a fan of DZone. Another good place is DevOps.com Also, the Sonatype blog and All Day DevOps regularly feature DevOps news, too [disclosure, I contribute to all of these]


1

I'd add https://opensource.com/ (from Redhat) and the O"reilly Newsletter related to Infrastructure and Ops : https://conferences.oreilly.com/infrastructure-ops/io-ca


1

There is https://www.infoq.com/devops/ which is a good news feed. I get the newsletter and it is a good overview of trends, etc. I also check https://aws.amazon.com/blogs/devops/ regularly, but that is AWS specific of course.


1

The easiest way is not to handle this information)) You will get tired of such useless information like containers restarts. Anyway, there is couple of tools to monitor docker with prometheus: Google cadvisor Docker experimental prometheus metrics But it requires installation of prometheus, alert-manager, find metrics for triggering and set up alert ...


1

The docker login failed. Error response from daemon: Get https://https/v2/: dial tcp: lookup https: Temporary failure in name resolution The url is invalid. change from docker login -u AWS -p ******** https:/123456790.dkr.ecr.us-east-1.amazonaws.com to docker login -u AWS -p ******** 123456790.dkr.ecr.us-east-1.amazonaws.com


1

I would be inclined to use Pipeline Templating as this gives you the ability to define standard templates centrally but leave the SCM field to be defined by the individual job. Leveraging templates in this way lets you separate the business logic (what should happen when) of your pipeline from the technical implementation (what’s actually going to happen)....


1

What do you mean by "it doesn't work"? I got an error suggesting that the log format wasn't correct: Fatal error has occurred Error occured at: src/goaccess.c - set_curses - 1394 No time format was found on your conf file. When I edited /etc/goaccess.conf (i.e. uncommented/selected time-format, date-format and log-format) the docker logs mycontainer | ...


1

I think that the statment "to store the Vault's data in TPM" is not valid. The TPM is generally not for storage. There are some slots for storing some values and likely some persitent keys, but it is only a handful. I think TPM 2.0 maybe has more storage than 1.2, which I'm more familiar with, but it is not a storage device. It really depends on what and ...


1

Docker Prepends the current folder name with all the components name created using docker compose file. Eg : If the current folder name containing the docker-compose.yml file is test, all the volumes,network and container names will get test appended to it. In order to solve the problem people earlier proposed the idea of using -p flag with docker-compose ...


1

Docker does not allow to connect a container to the host network and any other Docker bridge network at the same time. I will try to illustrate the reason with an example: Let us think of a container C1. Hypothetically, C1 would be connected to the host network (--net=host) and a Docker bridge network Br1 (--net=Br1). A second container, let us say C2, is ...


1

According to @earcam one can run a docker inspect <id> to check whether an image contains a CMD. If one builds a docker image using the provided packer snippet in the Q&A, imports it and subsequently runs a docker inspect 1127c20077ef | grep -i cmd, the CMD has not been set: "Cmd": null, According to @Greendrake when has to set the context when ...


1

The problem is twofold: The Win10 LTSB is on its newest version and Docker has stopped supporting this version. This stops Docker from updating. Microsoft has moved to its own container registry and in doing so abandoned support for older Docker versions. So while I was pulling from the right registry it could not find a fitting image. Solution: get an up-...


1

Please try splitting this line: RUN apk add git && git clone https://github.com/s0md3v/Photon.git Photon into two: RUN apk add git RUN git clone https://github.com/s0md3v/Photon.git Photon This will tell you exactly which piece of the command fails. If it is the apk add git part maybe try this: RUN apk update && apk add git. Also you ...


1

Try to use php -S 0.0.0.0:8080: docker run --name php -v $(pwd):/app -w /app -p 8080:8080 -d --rm php:cli php -S 0.0.0.0:8080 -t . index.php Explanation: The localhost(or 127.0.0.1) address is attached to the container namespace, so anything outside of this namespace cannot have access to it. Furthermore, the 0.0.0.0 (in this context) is a specific ...


1

I'm not aware of a project that provides that out of the box. For local development, it is common to have hot reload. If something at the file level changes, it restarts the server. That is somewhat related, as you could trigger the updates on the file system remotely. Installing libraries could also be simulated by directly updating the node_modules folder....


1

If it's within scope, I would use Packer to build the artifacts. Write a Packer template using the builders that you want: Vagrant builder for the Vagrant image Docker builder for the Docker image. Use the same Ansible playbook as you already have to provision each of the builders. Note that you need to make sure that the Ansible playbook will work in ...


1

The Dockerfile provided in the Q&A indicates that the image uses the latest php:7 as a base image. One could inspect the version as follows: docker run -it php:7 php -v Result PHP 7.3.11 (cli) (built: Oct 25 2019 02:24:51) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies How to use an ...


1

The error shows that you are using AWS ECR credentials to login to dockerhub which will not work. Dockerhub is a different registry(both public and private), however ECR is private registry only. For pulling public images from dockerhub there is no need to login to dockerhub. You can simply use docker pull command and it will pull an image from dockerhub ...


1

As the name of the container is randomly generated you cannot get it before it's generated (by definition). You can use this service to generate random names : NAME=$(curl -s https://frightanic.com/goodies_content/docker-names.php); \ docker run -ti --name $NAME --hostname $NAME ubuntu:latest


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