Questions tagged [docker-logs]
46 questions
0
votes
1 answer
How to create the custom path for the logs in the domain mode container version
enter image description here
I need to change to the custom location path for the logs in the container version
0
votes
0 answers
Running Docker Compose from maven doesn't return logs
I am trying to run docker compose using mvn clean install, but it doesn't return log. the problem is if I don't set the detachedMode = true, it shows the log of containers but it will remain in up state and the down goal doesn't run.
On the other…

Mary
- 3
- 2
0
votes
1 answer
Docker Desktop can't get container logs
I'm using Docker Desktop on Win10. Containers works correctly and when I start container without -d parameter I see logs in cosnole output. Also when I use command docker logs I can see the logs. Unluckily when I try to get logs from Docker Desktop…

Kambey
- 96
- 1
- 7
0
votes
1 answer
Datalust Seq Ingestion failed: Invalid URI: The URI scheme is not valid
I'm trying to collect logs from docker containers by Datalust Seq.
All containers are running on the same host.
I tried to follow the official recomendations.
seq:
image: datalust/seq:latest
container_name: seq
restart: unless-stopped
…

vatavale
- 1,470
- 22
- 31
0
votes
0 answers
What will happen if i delete a docker container log file?
I have a simple question: what will happen if I delete a Docker container log file?
As we know Docker stores container log under /var/lib/docker/containers/*/*-json.log.
If by chance I deleted that -json.log then what will happen?…
0
votes
1 answer
'docker service logs' overwriting and unstable after 'docker service update' in swarm mode
My docker services logs are usually working fine (printing in chronological order) but,
after performing:
docker service update --force --image myimageregistry:mytag myservice
if I request logs with:
docker service logs myservice
then I get some…

Guillaume B
- 23
- 1
- 4
0
votes
1 answer
How to backup all docker container logs
I am quite new in docker and I don't know if this has been asked before. Is it possible to backup all docker container logs without using volumes for each container? We are using docker on a remote machine (mostly using jenkins)
Right now I am…

l_na_l
- 190
- 1
- 14
0
votes
1 answer
Docker container taking 27GB on disk while docker container ls --size only report 500MB
I'm on a Debian VPS on OVH cloud provider, running Docker.
Trying to make an apt update on the instance, I noticed that the disk of 40GB was full. What is quite surprising for an instance hosting 2 Wordpress blogs.
I tried to run:
sudo du -h…

Xiiryo
- 3,021
- 5
- 31
- 48
0
votes
0 answers
Docker doesn't show file logs
I'm trying to show Docker logs from Terminal, however all it's showing me is "Attaching to" and that's it.
No logs and no other stuff. I'm running a Mac OS X (Mojave); I've build the container from the image, however no logs are to be seen.
What…

Albin Sopaj
- 1
- 5
0
votes
0 answers
How to copy Docker logs to another directory
I want to copy docker logs to another folder in the host machine. When we run docker logs the output wants to store in a directory inside the host machine. Is there any solution for this?.

AWS Coder
- 455
- 1
- 8
- 13
0
votes
1 answer
is it safe to delete Hyperledger fabric Orderer logs?
i see that my docker logs file is 67GB , if i truncate the docker logs file. will it effect my network ?
how i am doing it is by typing
sudo su
cd /var/lib/docker/containers/b390ca8178f28de33b702053cde84e7aba033d83a29a53777d601e2b5
echo -n "" >…

Adarsha Jha
- 1,782
- 2
- 15
- 37
0
votes
0 answers
Read .log file of a docker container that is not in the host
I have a .log JSON log file of a container running on a different computer and I want to figure out what went wrong. I don't have access to the computer but have the logs. I can view the logs in a text editor but I want to view it like the output of…

kuzdogan
- 554
- 7
- 13
0
votes
1 answer
Difference between **journalctl -u test.service** and **journalctl CONTAINER_NAME=test**
I have a systemd service file which run a docker container with log driver journald.
ExecStart=/usr/bin/docker run \
--name ${CONTAINER_NAME} \
-p ${PORT}:8080 \
--add-host ${DNS} \
-v /etc/localtime:/etc/localtime:ro \
…

Sine C
- 41
- 4
0
votes
1 answer
Getting Docker logs to Fluentd via SYSLOG_IDENTIFIER
I have docker containers which writes all logs to Journald. I have added these two flags to the docker run command
--log-driver=journald
--log-opt tag="docker.test"
When I see the logs using journalctl CONTAINER_NAME=test-docker, I see the the tag…

Sine C
- 41
- 4
0
votes
1 answer
Mongo Express server listening at http://0.0.0.0:8081
version: "3.3"
services:
mongodb:
image: mongo:latest
container_name: "mongo"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: rootpassword
ports:
-…

choopau
- 2,209
- 5
- 21
- 28