Moby Project - Latest posts https://forums.mobyproject.org Latest posts How to use docker-compose plugin with moby two years later - any update on this?

]]>
https://forums.mobyproject.org/t/how-to-use-docker-compose-plugin-with-moby/854#post_2 Tue, 18 Feb 2025 09:51:24 +0000 forums.mobyproject.org-post-1458
Docker compose does not start container for second environment on host Windows Server 2022 I too have this problem.
See also these github issues describing (probably) the same problem:

]]>
https://forums.mobyproject.org/t/docker-compose-does-not-start-container-for-second-environment-on-host-windows-server-2022/873#post_2 Mon, 15 Jan 2024 13:03:09 +0000 forums.mobyproject.org-post-1431
Overlay2 consuming way more disk space than reported by docker system df We are seeing the same. After pruning we see a huge amount of disk space still in use. We use XFS for the partition where we store docker data, I wonder if that has anything to do with this (slightly unconventional filesystem choice I guess).

]]>
https://forums.mobyproject.org/t/overlay2-consuming-way-more-disk-space-than-reported-by-docker-system-df/564#post_14 Tue, 24 Oct 2023 08:55:14 +0000 forums.mobyproject.org-post-1425
How to programmatically connect to moby where in docker demon we can connect to 2375 port Hi,

I was struggeling to run the automated test written on docker java apis. I had set up rancher earlier without exposing port 2375, i was able to run the test, however it is started failing recently. I would like to understand is there any way that we can expose demon to connect to moby apis?

Thanks in advance,

Vij

]]>
https://forums.mobyproject.org/t/how-to-programmatically-connect-to-moby-where-in-docker-demon-we-can-connect-to-2375-port/893#post_1 Fri, 22 Sep 2023 04:48:47 +0000 forums.mobyproject.org-post-1423
Docker compose does not start container for second environment on host Windows Server 2022 Hi, I am having problem with starting container from second compose.yml and moreover only on docker host with OS Windows Server 2022. I posted this issue on forums.docker.com where there are additional informations on this issue in the comments. They finally referred me to post the problem here on this forum. So I will describe the situation.

I need two same web applications on diferent URL adresses with own databases. So I have created two compose.yml files (compose-env01.yml and compose-env02.yml) for running two environments (env01 and env02). Each environment include two containers (web and mssql DB).

After build compose-env01.yml and compose-env02.yml are the images for web same for env01 and env02. Also images for mssql are the same for env01 and env02:
See Figure 1 below
Differents betweens compose-env01.yml and compose-env02.yml are only in using ports, as you can see:

compose-env01.yml:

version: "3.8"
services:
  web:
    build: ./web-mw
    isolation: 'default'
    hostname: web
    deploy:
      resources:
        limits:
          memory: 8G
    ports:
      - "7001:443"
    environment:
      "#CONFSETTINGS_PORT_MW#": "7001"
      "#CONFSETTINGS_MSSQLSERVERPORT#": "14331"
    depends_on:
      - mssql
  mssql: 
    build: ./database
    isolation: 'default'
    hostname: mssql
    ports:
      - "14011:14331"
    expose:
      - "14331"
    volumes:
      - .\volumes\db:C:\sqlbak
    storage_opt:
      size: '25G'
    environment:
      SA_PASSWORD: "Your_password"
      ACCEPT_EULA: "Y"
      MSSQL_PID: "Developer"
      ChangeMSSQLServerPort: "TRUE"
      MSSQLServerPort: "14331"

compose-env02.yml:

version: "3.8"
services:
  web:
    build: ./web-mw
    isolation: 'default'
    hostname: web
    deploy:
      resources:
        limits:
          memory: 8G
    ports:
      - "7002:443"
    environment:
      "#CONFSETTINGS_PORT_MW#": "7002"
      "#CONFSETTINGS_MSSQLSERVERPORT#": "14332"
    depends_on:
      - mssql
  mssql: 
    build: ./database
    isolation: 'default'
    hostname: mssql
    ports:
      - "14012:14332"
    expose:
      - "14332"
    volumes:
      - .\volumes\db:C:\sqlbak
    storage_opt:
      size: '25G'
    environment:
      SA_PASSWORD: "Your_password"
      ACCEPT_EULA: "Y"
      MSSQL_PID: "Developer"
      ChangeMSSQLServerPort: "TRUE"
      MSSQLServerPort: "14332"

When I run containers from env01 using command “docker compose -p env01 -f compose-env01.yml up -d”, both containers start correctly. Then I want to run containers from env02 using “docker compose -p env02 -f compose-env02.yml up -d”. But now will start only container env02-mssql-1 and container env02-web-1 remains in the state Starting:
See Figure 2 below
And this is the problem! This only happens on docker host with OS Windows Server 2022. The same configuration on docker host with OS Windows Server 2019 is OK and all containers from env01 and env02 start correctly.

I was trying run docker compose up also with parameter “–verbose” and with “debug”: true in daemon.json, but it didn’t give me any further information. When starting containers from compose-env02.yml, the container env02-mssql-1 started correctly and the container env02-web-1 didn’t even start to run and no further informations was displayed. So after that I canceled the start of the containers from compose-env02.yml. The state of containers from both environments was now this:
See Figure 3 below

And now a very interesting information:
Now when I shut down the containers from env01, the container env02-web-1 started Immediately automatically after that, as you can see:
See Figure 4 below
Given that, I think it will be probably some network issue. Interestingly, however, the same configuration works on docker host Windows Server 2019.

Figures:

Using versions are:
Docker host with OS Windows Server 2022
Docker version 24.0.4, build 3713ee1
Docker Compose version v2.20.2

So could you please help me anybody with this problem? Or could it be a bug in docker?

]]>
https://forums.mobyproject.org/t/docker-compose-does-not-start-container-for-second-environment-on-host-windows-server-2022/873#post_1 Wed, 16 Aug 2023 06:24:52 +0000 forums.mobyproject.org-post-1403
Tutorial for build and execute Moby I think they have a contributing guideline: https://github.com/moby/moby/tree/master/docs/contributing

]]>
https://forums.mobyproject.org/t/tutorial-for-build-and-execute-moby/837#post_2 Sat, 29 Jul 2023 16:48:59 +0000 forums.mobyproject.org-post-1398
How to use docker-compose plugin with moby Hi, Is there a similar plugin for moby with a different name? or Can I use docker-compose plugin with moby directly.

]]>
https://forums.mobyproject.org/t/how-to-use-docker-compose-plugin-with-moby/854#post_1 Tue, 21 Feb 2023 10:42:25 +0000 forums.mobyproject.org-post-1382
Tutorial for build and execute Moby Hello, I am student who trying to build Moby in my desktop
I cloned git repository of Moby but I couldn’t find some tutorial about Moby (like how to build Moby project, run container etc)
Is there any guideline or tutorial for building and using Moby?

My env
= liunx kernel 5.4.0-139-generic Ubuntu arm64

]]>
https://forums.mobyproject.org/t/tutorial-for-build-and-execute-moby/837#post_1 Fri, 17 Feb 2023 06:09:55 +0000 forums.mobyproject.org-post-1364
Behaviour of RUN command in Dockerfile RUN command in dockerfile utilises cache when the command is found same, but it is not necessarily true that state of image will be same after executing same command especially when we are dependent on external system.

Example:

RUN wget github.com/....../xyz.txt -O xyz.txt

The file we are trying to download can change time to time but the docker engine will consider that the command is unchanged which is not aligned with the state of image generated after the command is executed.

Did community had discussion on this topic in past? Or is this intentional?

]]>
https://forums.mobyproject.org/t/behaviour-of-run-command-in-dockerfile/835#post_1 Sat, 11 Feb 2023 14:16:10 +0000 forums.mobyproject.org-post-1362
CreateContainerError's on startup I’m getting intermittent CreateContainerErrors when running the docker runtime (v20.10.6) on GKE.

Not sure why I’m getting this or if an upgrade to the latest version of the docker engine would solve the problem. But any insight into the root cause would be greatly appreciated because the logs don’t suggest a reason.

]]>
https://forums.mobyproject.org/t/createcontainererrors-on-startup/833#post_1 Mon, 06 Feb 2023 21:09:35 +0000 forums.mobyproject.org-post-1360
I want a job .because i am educated men [email protected]

]]>
https://forums.mobyproject.org/t/i-want-a-job-because-i-am-educated-men/812#post_1 Tue, 10 Jan 2023 22:32:04 +0000 forums.mobyproject.org-post-1339
Running a container programmatically
Deivisson:

I’m trying to run a container programmatically from golang using API.
The run docker command is like this:

docker container run -a stdout -a stderr --stop-timeout 0 --rm -v sourceDir:destDir --network none -m 1GB my-image:latest args1 args2 args3

Below is a code that I am trying to make run the container and it doesn’t work as expected

package main

import (
	"context"
	"fmt"
	"os/exec"

	"github.com/docker/docker/api/types"
	"github.com/docker/docker/api/types/container"
	"github.com/docker/docker/client"
)

func main() {
	cli, err := client.NewClientWithOpts()
	if err != nil {
		fmt.Println("Unable to create docker client")
		panic(err)
	}

	ctx := context.Background()
	cont, err := cli.ContainerCreate(
		ctx,
		&container.Config{
			Image:        "my-image:latest",
			AttachStdout: true,
			AttachStderr: true,
			Volumes: map[string]struct{}{
				"sourceDir:destDir": {},
			},
			Entrypoint: []string{
				"arg1", "arg2", "arg3",
			},
			StopTimeout:     new(int),
			NetworkDisabled: true,
		},
		nil,
		nil,
		nil,
		"",
	)
	if err != nil {
		panic(err)
	}

	cli.ContainerStart(ctx, cont.ID, types.ContainerStartOptions{})
	cli.ContainerRemove(ctx, cont.ID, types.ContainerRemoveOptions{Force: true})
	
}

Any suggestion on what can be wrong?

There are a few issues with the code you had posted:

  1. The AttachStdout and AttachStderr fields in the container.Config struct should be set to false, not true. Setting these fields to true will attach the container’s standard output and error streams to the host’s standard output and error streams, respectively.
  2. The Volumes field in the container.Config struct should be a map of strings to *mount.Mount, not a map of strings to empty structs. You can use the mount.New function from the github.com/docker/docker/api/types/mount package to create a *mount.Mount for the volume.
  3. The StopTimeout field in the container.Config struct should be set to a pointer to a *int with a value of 0, not a pointer to a *int with a nil value.
  4. The cli.ContainerStart function should be called with a types.ContainerStartOptions struct as its second argument, not a types.ContainerStartOptions{}.
  5. The cli.ContainerRemove function should be called with a types.ContainerRemoveOptions struct as its third argument, not a types.ContainerRemoveOptions{Force: true}.

Here an updated version of your code with these changes applied:

package main

import (
	"context"
	"fmt"

	"github.com/docker/docker/api/types"
	"github.com/docker/docker/api/types/container"
	"github.com/docker/docker/api/types/mount"
	"github.com/docker/docker/client"
)

func main() {
	cli, err := client.NewClientWithOpts()
	if err != nil {
		fmt.Println("Unable to create docker client")
		panic(err)
	}

	ctx := context.Background()
	cont, err := cli.ContainerCreate(
		ctx,
		&container.Config{
			Image:        "my-image:latest",
			AttachStdout: false,
			AttachStderr: false,
			Volumes: map[string]*mount.Mount{
				"sourceDir:destDir": mount.New("sourceDir", "destDir", false),
			},
			Entrypoint: []string{
				"arg1", "arg2", "arg3",
			},
			StopTimeout:     new(int),
			NetworkDisabled: true,
		},
		nil,
		nil,
		nil,
		"",
	)
	if err != nil {
		panic(err)
	}

	cli.ContainerStart(ctx, cont.ID, types.ContainerStartOptions{})
	cli.ContainerRemove(ctx, cont.ID, types.ContainerRemoveOptions{Force: true})
}
]]>
https://forums.mobyproject.org/t/running-a-container-programmatically/800#post_2 Mon, 09 Jan 2023 19:08:06 +0000 forums.mobyproject.org-post-1337
Supporting resume from containerd or dockerd Hi,
We are using containers in an embedded system with a modem connection and we have noticed that the container pulls do not resume when the connection is lost, rather they just restart.
Does anyone know if dockerd should be doing resume? Would containerd do that for us?
Any other solutions would be a lot of help.
Thanks very much
Ed

]]>
https://forums.mobyproject.org/t/supporting-resume-from-containerd-or-dockerd/803#post_1 Thu, 04 Aug 2022 10:12:10 +0000 forums.mobyproject.org-post-1329
Running a container programmatically Hi guys! I’m trying to run a container programmatically from golang using API.
The run docker command is like this:

docker container run -a stdout -a stderr --stop-timeout 0 --rm -v sourceDir:destDir --network none -m 1GB my-image:latest args1 args2 args3

Below is a code that I am trying to make run the container and it doesn’t work as expected

package main

import (
	"context"
	"fmt"
	"os/exec"

	"github.com/docker/docker/api/types"
	"github.com/docker/docker/api/types/container"
	"github.com/docker/docker/client"
)

func main() {
	cli, err := client.NewClientWithOpts()
	if err != nil {
		fmt.Println("Unable to create docker client")
		panic(err)
	}

	ctx := context.Background()
	cont, err := cli.ContainerCreate(
		ctx,
		&container.Config{
			Image:        "my-image:latest",
			AttachStdout: true,
			AttachStderr: true,
			Volumes: map[string]struct{}{
				"sourceDir:destDir": {},
			},
			Entrypoint: []string{
				"arg1", "arg2", "arg3",
			},
			StopTimeout:     new(int),
			NetworkDisabled: true,
		},
		nil,
		nil,
		nil,
		"",
	)
	if err != nil {
		panic(err)
	}

	cli.ContainerStart(ctx, cont.ID, types.ContainerStartOptions{})
	cli.ContainerRemove(ctx, cont.ID, types.ContainerRemoveOptions{Force: true})
	
}

Any suggestion on what can be wrong?

Ps: Not happens exceptions. Just not working… I have doubt if volumes and args are mapped correctly

]]>
https://forums.mobyproject.org/t/running-a-container-programmatically/800#post_1 Sun, 05 Jun 2022 12:47:39 +0000 forums.mobyproject.org-post-1326
How to create assembly using moby, are there any examples? Nothing yet. Even tried some other platforms. Unable to find anything :unamused:

]]>
https://forums.mobyproject.org/t/how-to-create-assembly-using-moby-are-there-any-examples/387#post_5 Wed, 01 Jun 2022 11:15:43 +0000 forums.mobyproject.org-post-1324
How to create assembly using moby, are there any examples? @hamblingreg52 I haven’t found anything yet :pensive: I only managed to build the moby project . Please let me know if you have any updates.

]]>
https://forums.mobyproject.org/t/how-to-create-assembly-using-moby-are-there-any-examples/387#post_4 Thu, 26 May 2022 13:20:40 +0000 forums.mobyproject.org-post-1322
How to create assembly using moby, are there any examples? Hi @EmnaKsontini. I am also facing the same problem. Have you found anything useful yet?

]]>
https://forums.mobyproject.org/t/how-to-create-assembly-using-moby-are-there-any-examples/387#post_3 Thu, 26 May 2022 09:18:37 +0000 forums.mobyproject.org-post-1321
How to create assembly using moby, are there any examples? Hi mprakas did you find anything useful? I am currently facing the same situation

]]>
https://forums.mobyproject.org/t/how-to-create-assembly-using-moby-are-there-any-examples/387#post_2 Tue, 24 May 2022 14:23:39 +0000 forums.mobyproject.org-post-1320
New tool to easily see what new tags available on Docker Hub I have started using your tool. For now, this tool seems pretty amazing. I will give my detailed feedback pretty soon.

]]>
https://forums.mobyproject.org/t/new-tool-to-easily-see-what-new-tags-available-on-docker-hub/712#post_2 Tue, 17 May 2022 05:53:10 +0000 forums.mobyproject.org-post-1317
With Moby can I create a real web server with java, tomcat and postgresql for free? Hi!
The brief tl;dr is that Moby is docker. More precisely, Moby is the open source project on which Docker is based. It is maintained by Docker.

So while you could technically use Moby directly, it would make more sense to just use Docker.

]]>
https://forums.mobyproject.org/t/with-moby-can-i-create-a-real-web-server-with-java-tomcat-and-postgresql-for-free/781#post_2 Thu, 05 May 2022 17:46:51 +0000 forums.mobyproject.org-post-1305
With Moby can I create a real web server with java, tomcat and postgresql for free? Good morning everyone,
I don’t know Moby and I opened this thread to find out if this tool can be used for my case or not.
Years ago I used Docker to quickly create a local server with Java, Tomcat and PostgreSQL then I stopped using it because I was struggling to install it on Windows 10.
I’m looking for an identical but free product that works similar to Docker and is usable on Linux web servers. In practice I would like to buy a hosting with Linux and quickly install Java, Tomcat and PostgreSQL on it just like I did locally with Docker. In practice I would like to perform these operations quickly and writing little code:
1.Change servers;
2.Update the versions of Java, Tomcat, PostgreSQL.
A.Does Moby work like Docker?
B.It’s free?
C.Does it work on any Linux real web server?
D.How is it different from Docker?
See you soon and thanks

]]>
https://forums.mobyproject.org/t/with-moby-can-i-create-a-real-web-server-with-java-tomcat-and-postgresql-for-free/781#post_1 Tue, 03 May 2022 22:59:35 +0000 forums.mobyproject.org-post-1301
Functionality similar to docker-user chain in filter table, but in NAT? Hi everybody! I am trying to prevent connections from the internet to a port that I have exposed through my docker-compose file:

ports:
      - "8080:3000"

What happens is: I want only my local network to be able to reach this port. I have figured out that by using the following nftables rules

nft insert rule filter DOCKER-USER position 0 'ip saddr != 192.168.178.0/24 ip daddr 172.19.0.4 tcp dport 3000 jump DOCKER-USER-DROP'

I can get the behavior I want, but this forces me to check what is the internal container’s ip address and the internal port. I’d prefer to specify directly the external port I am trying to protect, but to achieve this I’d need to add this rule in a table similar to DOCKER-USER in the NAT table. The problem, then, is that I think there is not such chain managed by docker itself… or is there? In my debian 11 I have the following:

table ip nat {
        [...]
        chain DOCKER {
                iifname "br-313449142f9f" counter packets 0 bytes 0 return
                iifname "docker0" counter packets 0 bytes 0 return
                iifname != "br-313449142f9f" meta l4proto tcp tcp dport 8080 counter packets 63 bytes 3700 dnat to 172.19.0.4:3000
                iifname != "br-313449142f9f" meta l4proto tcp ip daddr 127.0.0.1 tcp dport 5432 counter packets 0 bytes 0 dnat to 172.19.0.2:5432
                iifname != "br-313449142f9f" meta l4proto tcp ip daddr 127.0.0.1 tcp dport 3000 counter packets 0 bytes 0 dnat to 172.19.0.3:3000
        }
        [...]
}

and I’d expect something like I have in the filter table:

table ip filter {
        [...]
        chain FORWARD {
                type filter hook forward priority filter; policy accept;
                counter packets 7591 bytes 931764 jump DOCKER-ISOLATION-STAGE-1
                counter packets 7591 bytes 931764 jump DOCKER-USER
                oifname "br-313449142f9f" ct state related,established counter packets 6821 bytes 874506 accept
                oifname "br-313449142f9f" counter packets 49 bytes 2860 jump DOCKER
                iifname "br-313449142f9f" oifname != "br-313449142f9f" counter packets 337 bytes 31358 accept
                iifname "br-313449142f9f" oifname "br-313449142f9f" counter packets 0 bytes 0 accept
                oifname "docker0" ct state related,established counter packets 0 bytes 0 accept
                oifname "docker0" counter packets 0 bytes 0 jump DOCKER
                iifname "docker0" oifname != "docker0" counter packets 0 bytes 0 accept
                iifname "docker0" oifname "docker0" counter packets 0 bytes 0 accept
        }

        chain DOCKER-USER {
                oifname "lo" counter packets 0 bytes 0 jump DOCKER-USER-DENY-INTERNAL
                oifname "enp*" counter packets 707 bytes 53558 jump DOCKER-USER-DENY-INTERNAL
                counter packets 7207 bytes 908724 return
        }
        [...]
}

so… how can I get this to work? I am surprised to have found very little documentation about this, when I’d expect this situation (preventing ports to being open to the internet) to be pretty well documented. This makes me think I might be doing something wrong?
Thank you!

]]>
https://forums.mobyproject.org/t/functionality-similar-to-docker-user-chain-in-filter-table-but-in-nat/755#post_1 Sun, 27 Feb 2022 11:20:49 +0000 forums.mobyproject.org-post-1273
Build Moby from GitHub sources Got answers? Running into similar situation

]]>
https://forums.mobyproject.org/t/build-moby-from-github-sources/144#post_3 Mon, 27 Dec 2021 08:37:53 +0000 forums.mobyproject.org-post-1266
Cgroups v2 support with moby-engine and moby-containerd Has anyone here tried using cgroups-v2 with moby-{engine,containerd} and run into issues? I am trying to determine the minimum versions of moby where cgroups-v2 is considered stable. Thanks!

]]>
https://forums.mobyproject.org/t/cgroups-v2-support-with-moby-engine-and-moby-containerd/746#post_1 Tue, 02 Nov 2021 21:33:32 +0000 forums.mobyproject.org-post-1261
WSL: Bad permissions for files written out to -v mounts When I use docker run with the -v flag to mount directories, then any files the container writes back to the host end up with bad permissions. I have to use sudo to operate on the files.

This happens when using Docker from a Windows Subsystem for Linux (WSL) environment.

]]>
https://forums.mobyproject.org/t/wsl-bad-permissions-for-files-written-out-to-v-mounts/742#post_1 Fri, 17 Sep 2021 00:05:36 +0000 forums.mobyproject.org-post-1257
Dockerd failed to respond the rpc call from kubelet Moby Version: 3.0.10
Issue:
kubelet reported error ‘PLEG unhealthy’ and found the 1st time it happened with error “E0720 19:37:45.395520 3907 remote_runtime.go:373] Exec xxxxx ‘ls’ from runtime service failed: rpc error: code = DeadlineExceeded desc = context deadline exceeded’”
After checking the docker log, found that it looks like the dockerd got stuck after 19:32 on 20th July.

Appreciate if any idea why this happened?

]]>
https://forums.mobyproject.org/t/dockerd-failed-to-respond-the-rpc-call-from-kubelet/737#post_1 Wed, 21 Jul 2021 09:38:57 +0000 forums.mobyproject.org-post-1250
Invalid link on the homepage of the moby website On the homepage of the website (https://mobyproject.org/),

You can get started with Moby by running some of the examples assemblies in the [LinuxKit GitHub]repository, or in a browser with Play with Moby.

Play with Moby link is invalid

]]>
https://forums.mobyproject.org/t/invalid-link-on-the-homepage-of-the-moby-website/715#post_1 Wed, 26 May 2021 23:59:54 +0000 forums.mobyproject.org-post-1217
New tool to easily see what new tags available on Docker Hub I always found it a pain to see if there were new images/tags on Docker Hub for a given image I was using. So I created a small CLI tool (refresh_image) that will compare what I have on my local machine with what is on Docker Hub. Saves the hassle of going to the website for each of the images I use on my machine.

I’d appreciate any feedback people have on this tool. Is it useful? Does it do what you expect/want?

Thanks in advance

]]>
https://forums.mobyproject.org/t/new-tool-to-easily-see-what-new-tags-available-on-docker-hub/712#post_1 Fri, 21 May 2021 04:48:44 +0000 forums.mobyproject.org-post-1213
Overlay2 consuming way more disk space than reported by docker system df Maybe it caused by docker volume.
Can you try docker volume list?

]]>
https://forums.mobyproject.org/t/overlay2-consuming-way-more-disk-space-than-reported-by-docker-system-df/564#post_13 Fri, 16 Apr 2021 01:55:50 +0000 forums.mobyproject.org-post-1184
Overlay2 consuming way more disk space than reported by docker system df I know I’m late to the party but I have this issue as well and it’s on a gitlab runner. docker system df shows no data yet in the /var/lib/overlay2 directory there is ~250GB of data. I just stopped docker and wiped that directory and restarted docker and seems to not have caused any issues. But how is all this data in that directory when a docker ps -a shows no images?

Docker version 19.03.12, build 48a66213fe

]]>
https://forums.mobyproject.org/t/overlay2-consuming-way-more-disk-space-than-reported-by-docker-system-df/564#post_12 Thu, 15 Apr 2021 22:35:57 +0000 forums.mobyproject.org-post-1183
Does moby support "docker app"? I mean this: docker app from the main Docker page.

I tried enabling docker experimental features, yet I get this:

√ ; docker --version
Docker version 19.03.13, build 4484c46
√ ; docker version -f '{{.Server.Experimental}}'
true
√ ; docker app help
docker: 'app' is not a docker command.
See 'docker --help'
✗ 1 ; rpm -qa | rg -i moby
moby-engine-19.03.13-1.ce.git4484c46.fc33.x86_64
√ ; uname -a
Linux nightwatch 5.10.11-200.fc33.x86_64 #1 SMP Wed Jan 27 20:21:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
√ ;

Am I doing something wrong there?

]]>
https://forums.mobyproject.org/t/does-moby-support-docker-app/687#post_1 Wed, 03 Feb 2021 09:26:33 +0000 forums.mobyproject.org-post-1160
Is moby an abandoned project? Thanks for being interested and checking things out!

I’d say the roadmap still fits well with the current work being done on the project.

For the contributing links, slackarchive seems to have been cut off due to a TOS change for Slack. Was not aware, we should remove the link.

]]>
https://forums.mobyproject.org/t/is-moby-an-abandoned-project/672#post_2 Wed, 20 Jan 2021 15:25:15 +0000 forums.mobyproject.org-post-1145
Is moby an abandoned project? I was looking at a moby issue https://github.com/moby/moby/issues/24379 and wanted to attempt educating myself before asking a stupid question. I started by looking at moby’s CONTRIBUTING.md and noticed dead links for Slack and I also found the roadmap being over 3 years old.

This issue is important for me, but now that I’m looking around, I’m starting to reconsider my desire to get involved. Am I looking at the wrong places or is moby close to its EOL? Thanks!

]]>
https://forums.mobyproject.org/t/is-moby-an-abandoned-project/672#post_1 Wed, 20 Jan 2021 15:10:51 +0000 forums.mobyproject.org-post-1144
Student Research Survey: Open Source Software Development + Third Party Formatters Hello!

I am part of a group of student researchers from Clemson University working on a semester project for Dr. Paige Rodeghero (https://paigerodeghero.com/) relating to linter and formatter usage affects on contributor productivity and git blaming scenarios.

We would like to invite you and your contributors to the Moby repository on Github to take part in our short (3-5 minute) anonymous survey: https://clemson.ca1.qualtrics.com/jfe/form/SV_9XIGxd2xq7fsDBP

If there are any questions or concerns relating to this survey, please contact any of the following student researchers:

Ella Kokinda - [email protected]

Yarui Cao - [email protected]

Manavi Sattigarahalli - [email protected]

Best, Ella

]]>
https://forums.mobyproject.org/t/student-research-survey-open-source-software-development-third-party-formatters/663#post_1 Tue, 17 Nov 2020 14:54:02 +0000 forums.mobyproject.org-post-1135
How to build on Windows? When building moby, after I execute “make win” and the build is finished, I cannot find the output files anywhere. There is no “bundles” directory where I supposedly should see the .exe files.

Build log looks like this:

Removing bundles/

---> Making bundle: cross (in bundles/cross)
Cross building: bundles/cross/windows/amd64
Building: bundles/cross/windows/amd64/dockerd-dev.exe
GOOS="windows" GOARCH="amd64" GOARM=""
Created binary: bundles/cross/windows/amd64/dockerd-dev.exe
Cloning into '/go/src/github.com/docker/windows-container-utility'...
remote: Enumerating objects: 2, done.
remote: Counting objects: 100% (2/2), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 23 (delta 0), reused 0 (delta 0), pack-reused 21
Unpacking objects: 100% (23/23), done.
Building: bundles/cross/windows/amd64/containerutility.exe

and then it just exits.

Any idea what I might be doing wrong?

]]>
https://forums.mobyproject.org/t/how-to-build-on-windows/660#post_1 Mon, 26 Oct 2020 20:19:13 +0000 forums.mobyproject.org-post-1132
Github link broken This still seems to be the case, even though the source in github.com/moby/mobywebsite seems fine. Is there a process to update the live website?

]]>
https://forums.mobyproject.org/t/github-link-broken/494#post_3 Thu, 08 Oct 2020 12:38:30 +0000 forums.mobyproject.org-post-1129
Error initializing network controller: list bridge addresses failed: no available network Hello,

Above error triggered me when my colleague asked me if I could find a reason why his docker daemon didn’t start. After a day of searching and debugging I think I found the reason and I have documented this in an open ticket that looks related to this issue, or might actually be exactly this issue (https://github.com/moby/moby/issues/33925). I also found several other tickets touching on the same issue but most of them closed without a solution, and several people talking in personal blogs about this issue, but never a real solution.

I would like to get in touch with someone that can look at this together with me, and see if we can find common ground. I’m not a developer, so I really not able to get a pull request ready for my proposed fix, but I think I’m very well able to explain a developer why I think this bug needs some attention.

Best regards,
Jan Hugo Prins

]]>
https://forums.mobyproject.org/t/error-initializing-network-controller-list-bridge-addresses-failed-no-available-network/645#post_1 Sat, 03 Oct 2020 01:49:03 +0000 forums.mobyproject.org-post-1116
How container network interface creations work when starting after connecting to multiple networks in stopped state Hi,
In the process of proposing a PR for https://github.com/moby/moby/issues/20179#issuecomment-550403842 , thus bridging the gap between docker-compose’s network priority feature and libnetwork’s ordered array for sb.endpoints, could you give me some hints on what is lacking on docker’s side to make network priorities functional in docker-compose ?

If i got it well, the docker-compose part is ok : calls to the network_connect API are correctly ordered.
Because I didn’t have time to dig into the docker-py and moby parts of this, today I can just confirm that those priorities are ignored upon container start : https://gist.github.com/jfellus/cfee9efc1e8e1baf9d15314f16a46eca

Networks and containers get connected in the right order, but then when we up/down the said docker-compose project, container get their interfaces created in the lexical order of their network name which is, say, arbitrary…

What I don’t have time to really understand is where this particular decision is made when starting a stopped container that have been connected in a particular order to various networks in a stopped state. Is there any hope to easily code a PR to make the priority settings pass through docker-py, get registered as libnetwork endpoint confs and container interfaces be created in the defined order ?

Thanks !

]]>
https://forums.mobyproject.org/t/how-container-network-interface-creations-work-when-starting-after-connecting-to-multiple-networks-in-stopped-state/642#post_1 Wed, 30 Sep 2020 14:03:22 +0000 forums.mobyproject.org-post-1113
Make BIND_DIR=. shell error Thanks I can use it after upgrading docker

]]>
https://forums.mobyproject.org/t/make-bind-dir-shell-error/626#post_5 Thu, 27 Aug 2020 06:35:15 +0000 forums.mobyproject.org-post-1111
Make BIND_DIR=. shell error Yes, that would explain; docker 1.13.x reached EOL almost 4 years ago, and doesn’t have support for multi-stage builds.

I would highly encourage to install a currently maintained version (current version is docker 19.03.x at time of writing) (https://docs.docker.com/engine/install/). Older releases are not maintained, and can have unpatched vulnerabilities (in some cases, critical)

]]>
https://forums.mobyproject.org/t/make-bind-dir-shell-error/626#post_4 Wed, 26 Aug 2020 13:43:39 +0000 forums.mobyproject.org-post-1100
Make BIND_DIR=. shell error docker version is 1.13.1, is it because of version problems?

]]>
https://forums.mobyproject.org/t/make-bind-dir-shell-error/626#post_3 Wed, 26 Aug 2020 02:39:09 +0000 forums.mobyproject.org-post-1098
Make BIND_DIR=. shell error What version of docker do you have installed currently? (you can find the version with the docker version command)

That error may mean that you have a very old version of docker installed that not yet has support for multi-stage builds

]]>
https://forums.mobyproject.org/t/make-bind-dir-shell-error/626#post_2 Fri, 14 Aug 2020 13:10:41 +0000 forums.mobyproject.org-post-1094
Make BIND_DIR=. shell error I’m following this guide https://github.com/moby/moby/blob/master/docs/contributing/set-up-dev-env.md and trying to setup a moby dev environment. In step 4 of the above URL, I execute the command

make BIND_DIR=. shell

and get the below error.

docker build  --build-arg=GO_VERSION  -f "Dockerfile" --target=dev   -t "docker-dev:dry-run-test" .
unknown flag: --target
See 'docker build --help'.
make: *** [build] 错误 125
]]>
https://forums.mobyproject.org/t/make-bind-dir-shell-error/626#post_1 Fri, 14 Aug 2020 07:37:26 +0000 forums.mobyproject.org-post-1093
Why no release from master after 19.03? Great!

Thank you.

By curiosity, do you know why they stop following the time-based release process as stated here:
https://github.com/moby/moby/wiki ?

]]>
https://forums.mobyproject.org/t/why-no-release-from-master-after-19-03/604#post_3 Thu, 16 Jul 2020 01:45:04 +0000 forums.mobyproject.org-post-1079
Why no release from master after 19.03? Tracked in https://github.com/moby/moby/issues/40838

]]>
https://forums.mobyproject.org/t/why-no-release-from-master-after-19-03/604#post_2 Thu, 16 Jul 2020 00:46:39 +0000 forums.mobyproject.org-post-1068
Why no release from master after 19.03? I would like to know why there was no new release made from master after the 19.03 one? It’s more than a year old and there’s improvements in master that are stuck there.

Thanks!

]]>
https://forums.mobyproject.org/t/why-no-release-from-master-after-19-03/604#post_1 Wed, 15 Jul 2020 14:53:29 +0000 forums.mobyproject.org-post-1067
Wifi & Graphics in RPI3 in linuxkit I am fairly new to linux. I am thinking of running a video playback and enable Wifi in linuxkit. Can someone give me directions on this and how complicated or not it is?

]]>
https://forums.mobyproject.org/t/wifi-graphics-in-rpi3-in-linuxkit/598#post_1 Mon, 08 Jun 2020 14:12:57 +0000 forums.mobyproject.org-post-1061
Docker plugin discovery does not work @cpuguy83 do you have any idea?

]]>
https://forums.mobyproject.org/t/docker-plugin-discovery-does-not-work/575#post_6 Sun, 10 May 2020 09:15:19 +0000 forums.mobyproject.org-post-1056
Docker plugin discovery does not work I got it anyhow :slight_smile:

Yes I know but unfortunately our repo does not support plugins, it seems.
I should create it such as I would tag a container, like
repo.name/pluginname:tag
and push it, right?
This does not work in our private repo.

How can I tar one and restore it?
With docker save it did not work for me, as there is no “normal” image.

Apart from that, can I just copy a folder to the other device?

]]>
https://forums.mobyproject.org/t/docker-plugin-discovery-does-not-work/575#post_5 Sat, 11 Apr 2020 18:13:49 +0000 forums.mobyproject.org-post-1049
Docker plugin discovery does not work Wow autocorrect really messed me up on the last message…

Managed plugins are special container images. You can create one from a tarball, and push/pull to/from a registry.

]]>
https://forums.mobyproject.org/t/docker-plugin-discovery-does-not-work/575#post_4 Sat, 11 Apr 2020 17:01:30 +0000 forums.mobyproject.org-post-1048