Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkmk - malformed #536

Closed
redtripleAAA opened this issue May 16, 2022 · 2 comments
Closed

Checkmk - malformed #536

redtripleAAA opened this issue May 16, 2022 · 2 comments

Comments

@redtripleAAA
Copy link

Do you want to request a feature or report a bug?

Please provide a sample input docker run command https://hub.docker.com/r/checkmk/check-mk-raw/

docker container run -dit -p 8080:5000 --tmpfs /opt/omd/sites/cmk/tmp:uid=1000,gid=1000 -v/omd/sites --name monitoring -v/etc/localtime:/etc/localtime:ro --restart always checkmk/check-mk-raw:2.0.0-latest


What is the current output?*

version: '3.3'
services:
    nginx:
        ports:
            - '80:80'
            - '8080:5000'
        volumes:
            - /var/run/dockerdocker
            - /omd/sites
            - '/etc/localtime:/etc/localtime:ro'
        tmpfs: '/opt/omd/sites/cmk/tmp:uid=1000,gid=1000'
        container_name: monitoring
        restart: 'always,always'
        logging:
            options:
                max-size: 1g
        image: nginx

What is the expected/desired output?

the restart has issue, and the image name is wrong and other attributes 
@magicmark
Copy link
Collaborator

magicmark commented Jul 27, 2022

@ansred could you redo your What is the expected/desired output? section?

Specifically, can you copy/paste the current output and manually modify it such that it would be correct output from composerize? That way we can understand precisely what mappings are currently broken.

thanks!

sharevb added a commit to sharevb/composerize that referenced this issue Sep 15, 2023
Handle various command and argument (and ignore properly -i -t -d --rm --priviledged)
Close many issue : composerize#544, composerize#549, composerize#538, composerize#484, composerize#542, composerize#536
@sharevb
Copy link
Collaborator

sharevb commented Oct 14, 2023

Hi, this is solved by my PR #571 deployed at https://deploy-preview-571--composerize.netlify.app/

@sharevb sharevb closed this as completed Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants