-
Notifications
You must be signed in to change notification settings - Fork 695
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Running any command with a progress bar (nerdctl pull, nerdctl run, etc) in a script (in e.g., systemd) and/or attempting to record the output of such a script (e.g. setup_dev_env.sh |& tee output.txt
) leads to a lot of redundant output and unexpected control codes that makes it hard to read.
Steps to reproduce the issue
1.nerdctl pull debian 2> stderr.txt
(may need to nerdctl rmi debian
first if already pulled)
2.Read stderr.txt
3.See that stderr.txt is filled with control codes, redundant output, etc
Describe the results you received and expected
Expect: that stderr.txt be clean
Received: stderr.txt is filled with control characters/other output that makes it hard to read
What version of nerdctl are you using?
$ nerdctl version
Client:
Version: v2.0.2
OS/Arch: linux/amd64
Git commit: 1220ce7ec2701d485a9b1beeea63dae3da134fb5
buildctl:
Version: v0.18.1
GitCommit: eb68885955169461d72dc2b7e6d084100fcaba86
Server:
containerd:
Version: v2.0.0
GitCommit: 207ad711eabd375a01713109a8a197d197ff6542
runc:
Version: 1.2.2
GitCommit: v1.2.2-0-g7cb36325
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
$ nerdctl info
Client:
Namespace: default
Debug Mode: false
Server:
Server Version: v2.0.0
Storage Driver: overlayfs
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Log: fluentd journald json-file none syslog
Storage: native overlayfs
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
rootless
Kernel Version: 6.9.3-76060903-generic
Operating System: Pop!_OS 22.04 LTS
OSType: linux
Architecture: x86_64
CPUs: 32
Total Memory: 94.14GiB
Name: REDACTED
ID: REDACTED_UUID
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working