New answers tagged docker
0
votes
How do I find the GPU device ID on Apple Silicon?
This should do the trick - open a terminal and run system_profiler SPDisplaysDataType
Example output:
Graphics/Displays:
Intel UHD Graphics 630:
Chipset Model: Intel UHD Graphics 630
...
0
votes
ansible list docker containers
Recently added docker_ps module from pytoccaz.docker galaxy collection offers a good solution with a list of dictionaries as output.
0
votes
Ansible: No package matching 'docker-ce' is available
Today I had the same issue! But my playbooks worked perfect a year ago. Wired things... I tried add repo manually to my hosts and everything ok. But not with ansible...
UPDATE:
I could install it with ...
0
votes
How to start docker container X86 on Rasberry PI 4 with arm64 architecture?
So, I don't know about docker – but docker is "just" a runtime for OCI containers (and frankly, I find it's sometimes too much, it does a lot that I don't need). The same "docker ...
-1
votes
How to start docker container X86 on Rasberry PI 4 with arm64 architecture?
You just can't it's not possible as the architecture differs.
Two ways to do achieve this are :
rebuild the container as said in comment.
https://www.padok.fr/en/blog/docker-arm-architectures
https://...
0
votes
How to connect wsl2 docker containers via ssh
You need to check some parameters :
is ssh service running inside docker
ss -laputen | grep ssh #this inside docker
How network and firewall are configured in your host/docker context :
https://...
0
votes
Writing a regular expression to list IPv4 addresses found in a docker network
The Regexp::Common perl module has a library of regular expressions to match a number of common things including IPv4 addresses in quad-decimal notations:
docker... | perl -MRegexp::Common=net -lne '...
1
vote
Writing a regular expression to list IPv4 addresses found in a docker network
Not sure about regex but jq might be able to help.
You can pass in the jsonpath to whatever you want in the single quotes.
Below command works for a json like below to extract the Gateway-
$ docker ...
2
votes
Accepted
Set PATH for /bin/sh in Debian:11 image
For /bin/sh in Debian (dash), /etc/profile and so on are only used for login shells. For non-login shells, you can specify a startup script to use in the ENV environment variable. At the end of your ...
2
votes
Accepted
After executing setcap, why I still can't use tar and got an error "operation not permitted"?
The reason you see:
bash-4.1$ ./tar -cvf /tmp/my.tar /tmp/1 /tmp/pip-build-root
./tar -cvf /tmp/my.tar /tmp/1 /tmp/pip-build-root
bash: ./tar: Operation not permitted
is that the Bounding set has ...
3
votes
Accepted
How do I install liblzma-dev with YUM / dnf
The RockyLinux 8 package that provides liblzma development files would be xz-devel from the BaseOS repository.
The BaseOS repository should be enabled by default and you should be able to install from ...
1
vote
Accepted
accessing docker database from other docker container(s)
You seem to have a minor misconception about accessing databases. No application other than the database itself should be modifying raw database files, and all other applications should interface with ...
0
votes
Accepted
Dockerfile | ERROR: failed to solve: process "/bin/sh -c apt-get install libc6:i386" did not complete successfully: exit code: 1
The problem is this:
1.811 Do you want to continue? [Y/n] Abort.
apt wants confirmation before continuing, but since it’s running non-interactively, it takes the safe option and exits. Not only that, ...
1
vote
Choosing a location for installation of Docker Desktop app’s CLI tools
Yes, you are right about that. In system-wide installs, all users can access Docker CLI. However, if they do not have sudo or root access, they would not be able to install system-wide binaries.
Key ...
0
votes
delete a package/app installed with pacman -U option
the solution was to query the pacman db with this cmd:
pacman -Q | grep docker-desktop
then remove it with the -R option or -Rnc in case you want to remove the dependencies also.
Note: doing this ...
1
vote
Accepted
Can i used these aliases in some sort of config file?
I assume you want to use your alias without any trailing "arguments" (i.e. in a shell you want to call sole sshConfigHost, not something like sshConfigHost -c "shell code here").
...
Top 50 recent answers are included
Related Tags
docker × 1687linux × 252
ubuntu × 187
container × 121
debian × 118
networking × 111
centos × 100
bash × 90
systemd × 77
iptables × 64
alpine-linux × 55
apt × 53
docker-compose × 51
rhel × 46
shell × 44
shell-script × 41
ssh × 41
permissions × 38
kubernetes × 37
virtual-machine × 33
podman × 27
cron × 25
mount × 24
python × 24
lxc × 24