nimah79
Repos
85
Followers
135
Following
12

REST API for Subscene subtitle service, written in PHP

21
4

Some useful RapidLeech plugins

14
8

Simple download link generator and URL uploader bot for Telegram - Based on MadelineProto

21
40

Script for automating the daily MySQL backups to Telegram

4
3

Dehkhoda Dictionary in SQL format

27
4

Persian trivia questions in SQL format

2
2

Events

Add flash message on successful team creating

Created at 10 hours ago

Update 403.html

Show errors and info messages in 403 page

Created at 11 hours ago
Created at 11 hours ago

Fix TLS connection when creating container

Created at 1 day ago

Modify get_unavailable_ports to avoid KeyError: 'PublicPort'

Fix TLS connection

Created at 1 day ago
Created at 1 day ago
started
Created at 3 days ago

Change docker instance info text color of docker_challenges plugin to white

Created at 5 days ago

Make form labels bold and white

Created at 5 days ago

Add feature to specify resource limit for containers

Created at 5 days ago

Fix exposed ports not showing in challenge create/edit page

Created at 5 days ago

Add .DS_Store to .gitignore

Created at 5 days ago

Remove unused imports

Created at 5 days ago

Add feature to specify which ports to publish per challenge image

Created at 5 days ago
Created at 5 days ago
Created at 6 days ago
nimah79 delete branch nimah79-patch-exposed-ports
Created at 6 days ago
pull request closed
Get ExposedPorts from Config if it does not exist in ContainerConfig

In images builded using BuildKit, ExposedPorts does not exist in Config field, not in ContainerConfig (Related issue in docker/cli).

Sample output of docker image inspect command for an image built using BuildKit:

[
    {
        "Id": "sha256:2dfa6c380c5fa5a1e7e99e137032f314d3121c755a713cd3a60dc7454124ad50",
        "RepoTags": [
            "testi:latest"
        ],
        "RepoDigests": [],
        "Parent": "",
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2023-03-23T20:57:30.366632471Z",
        "Container": "",
        "ContainerConfig": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": null,
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": null
        },
        "DockerVersion": "",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "80/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                ...
            ],
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "/var/www/html",
            "Entrypoint": [
                "/bin/bash",
                "/tmp/docker-entrypoint.sh"
            ],
            "OnBuild": null,
            "Labels": null,
            "StopSignal": "SIGWINCH"
        },
        "Architecture": "arm64",
        ...
    }
]

This PR fixes getting exposed ports from images built using BuildKit.

Created at 6 days ago
Get ExposedPorts from Config if it does not exist in ContainerConfig

In images builded using BuildKit, ExposedPorts does not exist in Config field, not in ContainerConfig (Related issue in docker/cli).

Sample output of docker image inspect command for an image built using BuildKit:

[
    {
        "Id": "sha256:2dfa6c380c5fa5a1e7e99e137032f314d3121c755a713cd3a60dc7454124ad50",
        "RepoTags": [
            "testi:latest"
        ],
        "RepoDigests": [],
        "Parent": "",
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2023-03-23T20:57:30.366632471Z",
        "Container": "",
        "ContainerConfig": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": null,
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": null
        },
        "DockerVersion": "",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "80/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                ...
            ],
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "/var/www/html",
            "Entrypoint": [
                "/bin/bash",
                "/tmp/docker-entrypoint.sh"
            ],
            "OnBuild": null,
            "Labels": null,
            "StopSignal": "SIGWINCH"
        },
        "Architecture": "arm64",
        ...
    }
]

This PR fixes getting exposed ports from images built using BuildKit.

Created at 6 days ago

Get ExposedPorts from Config if it does not exist in ContainerConfig

Created at 6 days ago
pull request opened
Get ExposedPorts from Config if it does not exist in ContainerConfig

In images builded using BuildKit, ExposedPorts does not exist in Config field, not in ContainerConfig (Related issue in docker/cli).

Sample output of docker image inspect command for an image built using BuildKit:

[
    {
        "Id": "sha256:2dfa6c380c5fa5a1e7e99e137032f314d3121c755a713cd3a60dc7454124ad50",
        "RepoTags": [
            "testi:latest"
        ],
        "RepoDigests": [],
        "Parent": "",
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2023-03-23T20:57:30.366632471Z",
        "Container": "",
        "ContainerConfig": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": null,
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": null
        },
        "DockerVersion": "",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "80/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                ...
            ],
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "/var/www/html",
            "Entrypoint": [
                "/bin/bash",
                "/tmp/docker-entrypoint.sh"
            ],
            "OnBuild": null,
            "Labels": null,
            "StopSignal": "SIGWINCH"
        },
        "Architecture": "arm64",
        ...
    }
]

This PR fixes getting exposed ports from images built using BuildKit.

Created at 6 days ago
nimah79 create branch nimah79-patch-exposed-ports
Created at 6 days ago
Created at 1 week ago
started
Created at 1 week ago
Created at 1 week ago
started
Created at 1 week ago
Created at 1 week ago