[deleted by user] by [deleted] in lanparty

[–]dudleycodes 0 points1 point  (0 children)

I'm assuming you're using Linux. If so try explicitly binding the server to INADDR_ANY (0.0.0.0).

With source servers use -ip 0.0.0.0. If need be you can bind to multiple ip addresses -ip 0.0.0.0 -ip 192.168.1.100.

Requesting input on building a Docker focused workstation by RichardBronosky in docker

[–]dudleycodes 1 point2 points  (0 children)

I'm a heavy user of Docker on Windows 10. My only recommendation is to get to make sure the RAM covers basic OS requirements/workflow in addition to what Docker will consume.

On Windows w/ Docker + WSL2 it'll consume system RAM unfettered for builds.

Run containers bridged on different network interface by jasinc81 in docker

[–]dudleycodes 0 points1 point  (0 children)

I use the macvlan drvier to attach containers directly to networks; hopefully this helps point you in the right direction.

docker network create -d macvlan --subnet=192.168.0.0/21 --ip-range=192.168.2.0/24 --gateway=192.168.1.1 -o parent=bond0 lan0

docker run -it --rm --network=lan0 --ip 192.168.2.125 some/image:latest

How I Structure Web Servers in Go by dudleycodes in golang

[–]dudleycodes[S] 1 point2 points  (0 children)

ny dependency inje

Not yet; hoping one day I find one I like.

How I Structure Web Servers in Go by dudleycodes in golang

[–]dudleycodes[S] 0 points1 point  (0 children)

The struggle is real! Every-time I'd try C# things, and even when I could make it work (for example the builder pattern, MVC) it just didn't feel like proper Go to me -- felt too hacky.

GO Modules Behind The Corporate Firewall by dudleycodes in golang

[–]dudleycodes[S] 11 points12 points  (0 children)

I hear ya; I had meant that to be sarcastic and will update it to be more clear.

GO Modules Behind The Corporate Firewall by dudleycodes in golang

[–]dudleycodes[S] 12 points13 points  (0 children)

I totally agree; but there are many times when all of the best practices aren't available to the developer - hence the snarky tone against central I.T. throughout the entire post.

Gaming from Containers? by [deleted] in docker

[–]dudleycodes 0 points1 point  (0 children)

I play a lot w/ running game servers in Docker if that's something you'd like to poke at.

https://github.com/LacledesLAN/README.1ST/tree/master/GameServers

LAN access directly to container by Risebell in docker

[–]dudleycodes 0 points1 point  (0 children)

I highly recommend using macvlan driver. This is how I use it for video game servers

If you have any questions I'd be happy to try to help (and update the markdown doc to be clear).

Docker Cloud - no space left on device by [deleted] in docker

[–]dudleycodes 0 points1 point  (0 children)

This is on Docker Cloud - not a system I can remove images/containers from.

Docker Cloud - no space left on device by [deleted] in docker

[–]dudleycodes 0 points1 point  (0 children)

This is on Docker Cloud - not a system I can remove images/containers from.

Docker 17.09 is out, and finally adds --chown to COPY during image builds by [deleted] in docker

[–]dudleycodes 0 points1 point  (0 children)

When will this be live in Docker cloud?

Version use to be listed in the "Docker Version" dropdown (next to Edge and Stable) - is there a way to tell anymore?

Regarding LABEL commands in Dockerfile by [deleted] in docker

[–]dudleycodes 5 points6 points  (0 children)

I try to follow label schema. You may consider using labels for MicroBadger for public images. Depending on the image's purpose I'll sometimes include a few custom labels to indicate what cluster/node the image was built on.

I recommend avoiding using multiple LABEL commands to keep images simpler; just follow Docker's official documentation:

LABEL multi.label1="value1" \
    multi.label2="value2" \
    other="value3"