Skip to content

Command responses are duplicated on container restart #22

Description

@HumorBaby

A user reports that container restarts lead to duplicated responses. For example, after a restart, .weather xxx responds twice. After another restart, .weather xxx responds three times.

Unfortunately, I am not able to duplicate this with the following:

$ docker create --name sopel_test -e EXTRA_PYPI_PACKAGES=sopel_modules.weather -e PUID=1000 -v "$(pwd)/sopel-config:/home/sopel/.sopel" sopelirc/sopel
$ docker start -a sopel_test
...
...
^C
$ docker start -a sopel_test
...
...

After subsequent restarts, the .weather xxx command still responds only one time.

"Labels" from sopelirc/sopel image used for testing:

            "Labels": {                                                                                                 
                "dockerfile.vcf-ref": "cbee053",                                                                        
                "dockerfile.vcs-url": "https://github.com/sopel-irc/sopel-docker",                                      
                "maintainer": "Humorous Baby <baby.humorous@gmail.com>",                                                
                "org.label-schema.build-date": "2019-02-06T21:43:32Z",                                                  
                "org.label-schema.description": "         Sopel, the Python IRC bot.         For stand-alone or compose/
stack service use.",                                                                                                    
                "org.label-schema.name": "sopel",                                                                       
                "org.label-schema.schema-version": "1.0",                                                               
                "org.label-schema.url": "https://sopel.chat",                                                           
                "org.label-schema.vcs-ref": "90a0916",                                                                  
                "org.label-schema.vcs-url": "https://github.com/sopel-irc/sopel",                                       
                "org.label-schema.version": "Python 3.4.9/Sopel v6.6.2"                                                 
            }                                             

More information is required:

  • What are the commands that are being used to create/start/restart the container?
  • Is the bot connecting through a bouncer?
  • Provide the output of docker inspect sopelirc/sopel, specifically the "Labels" metadata.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions