[Bug]: A container with a single quote in the command will mess up the overview table (not showing the state and status columns anymore)
See original GitHub issueWhat went wrong?
If you have a container running that has a command with a single quote in it, like sh -c 'tail -f /dev/null'
, it will show up in the overview. But the table highlights as if the command is the last column, and the State and Status columns are not populated for that container.
Your environment setup
- Operating System: NixOS
- Node.js version (run
node --version
): running in the latest lirantal/dockly container - Package version: running in the latest lirantal/dockly container
- Docker version (run
docker --version
): Docker version 20.10.7, build v20.10.7 - Is docker installed locally? yes
- Do you have containers created? yes
- Does this file exists
/var/run/docker.sock
? yes - Output of
docker info
:
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Build with BuildKit (Docker Inc., 0.0.0+unknown)
Server:
Containers: 22
Running: 8
Paused: 0
Stopped: 14
Images: 1633
Server Version: 20.10.7
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: journald
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: v1.5.7
runc version:
init version:
Security Options:
seccomp
Profile: default
cgroupns
Kernel Version: 5.10.88
Operating System: NixOS 21.05 (Okapi)
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 15.31GiB
Name: nixos
ID: JMBO:UXHB:WA6C:HFWI:6W5O:I5PW:L3NR:TEZN:TNZQ:7VRJ:NFXS:4CYG
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: true
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Single Quote, Double Quote, and Backticks in MySQL Queries
This can be seen in columns 2 and 3 in the example above. Inserting two double quotes in the middle of the string...
Read more >Escape single quote character for use in an SQLite query
A single quote within the string can be encoded by putting two single quotes in a row - as in Pascal. C-style escapes...
Read more >InfluxDB frequently asked questions - InfluxData Documentation
This page addresses frequent sources of confusion and places where InfluxDB behaves in an unexpected way relative to other database systems.
Read more >The Org Manual
As a TODO lists manager, Org helps you organize your tasks in a flexible way, from daily needs to detailed project-planning, allowing logging,...
Read more >How to use single and double quotes in PostgreSQL - Prisma
Double quotes are used to indicate identifiers within the database, which are objects like tables, column names, and roles. In contrast, single quotes...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Update on the issue: it’s not the single quote that is the issue, I think it’s the newline.
step 1: create compose.yaml file
step 2: run docker-compose command
docker-compose up -d
step 3: run dockly 😉
🎉 This issue has been resolved in version 3.22.1 🎉
The release is available on:
Your semantic-release bot 📦🚀